Calling a bash script from PHP - permission denied
I want to call a bash script from PHP/Apache/RedHat that is located in the /bin using php exec().
I can do this on my Debian box running Apache as system user. I try to run apache as a system user on RedHat but I get the permission denied error. Am I on the right track and/or should I put the bash script in a directory other than /bin.