List of permission checks in order to get suPHP to work?

neorder

Well-Known Member
Jun 16, 2003
54
0
156
Is it to complile a "List of permission checks in order to get suPHP to work?"

I've some scripts stopped working after we changed to suPHP from DSO.

May I know where should I start to check?

Thank.
 

verdon

Well-Known Member
Nov 1, 2003
920
11
168
Northern Ontario, Canada
cPanel Access Level
Root Administrator
All I've had to do is make sure the ownerships are correct, and that nothing is world write-able. I used the following commands in terminal to fix sites when I switched from DSO to suphp. (change user for the actual username of course).

Code:
chown -R user:user /home/user/public_html/* ;
find /home/user/public_html/ -type d -exec chmod 755 {} \;
find /home/user/public_html/ -type f -exec chmod 644 {} \;
The first line corrects ownership. The second perms on directories and the third on files.