HI there!
I\'ve run into some problem while learning to combine .sh files and PHP. I\'ve create a file test.sh and in that file I call a PHP file called test.php.
Another option is to run it with sh (or bash, if sh on your machine isn't bash and the script uses bashims)
sh filename.sh bash filename.sh
This will work whether or not the file is executable or in $PATH