closet geek

Well-Known Member
Mar 19, 2004
46
0
156
I can't get PHP scripts to execute from within the htdocs, there are no suexec errors but Apache gives:

(13)Permission denied: exec of script.php

The script is owned by root:root, it is chmod 644. Apache has ExecCGI added to the <Directory "/usr/local/apache/htdocs"> virtualhost.

I've tried the script with and without the hash bang line.

cg
 

closet geek

Well-Known Member
Mar 19, 2004
46
0
156
Turns out files and folders in the htdocs directy must be 755. I thought phpSuExec allowed much lower permissions to be set. Ho hum!

cg