Execute script de shell do arquivo php
echo shell_exec('sh /home/scripts/fix-perm.sh');
Lebohang Mokoena
echo shell_exec('sh /home/scripts/fix-perm.sh');
php file_name.php