Question : run shell script from php file
Answered by : lebohang-mokoena
echo shell_exec('sh /home/scripts/fix-perm.sh');
Source : https://stackoverflow.com/questions/7397672/how-to-run-a-sh-file-from-php | Last Update : Mon, 14 Dec 20
Question : execute php file from command line
Answered by : portapipe
php -f /path/to/your/file.php
Source : | Last Update : Fri, 09 Oct 20
Question : how to execute php in linux
Answered by : misty-marten-sy47otvbeloh
php file_name.php
Source : https://www.geeksforgeeks.org/how-to-execute-php-code-using-command-line/ | Last Update : Fri, 08 Apr 22