新开cpanel面板 500

I’ve was playing with EasyApache in a WHM install recently and after the upgrade I came across a strange error:

SoftException in Application.cpp:357: UID of script "/home/mysite/public_html/index.php" is smaller than min_uidPremature end of script headers: index.php

Turns out this error is caused by apache being unable to read files added byroot to a users public_html folder. A simple fix for this problem is to

chown -R mysite:mysite /home/mysite/public_html

If you’re still having permissions issues aver doing the above, try chmod:

chmod -R 755 /home/mysite/public_html

你可能感兴趣的:(新开cpanel面板 500)