Uruchom skrypt powłoki z pliku 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