| Ensure the web server user (e.g. "apache") can read and execute this program too. If not, you may need change ownership and permissions on your shell prog file.
Also, for better control, try executing shell commands using proc_open(). this will give you access to exit code and stderr stream, therefore easier to know what went wrong. |