Jalankan skrip shell dari file php
echo shell_exec('sh /home/scripts/fix-perm.sh');
Lebohang Mokoena
echo shell_exec('sh /home/scripts/fix-perm.sh');
php php_file.php
// or
php php_file.php > result_file.txt // to display the result of echoes or dumps