PHP + Linux (.sh) | Need script that recieve commands via PHP and execute on Linux server

Job ID: 31597955

Budget: $30 – $250 USD

Need a script for a Linux server (CentOS) that can interact with a PHP file. The PHP file should be able to receive a command and execute that command on the Linux server via Terminal. I also need the script to autostart if the server should restart etc.
Related categories: PHP Linux Software Architecture Shell Script CentOs