Executable not set-uid root
Posted by Vanessa | Tagged under apache,fixes,php | Posted on May 2, 2010
2
One of the servers here at work was giving a 500 Internal Server error whenever a PHP page was loaded. Among the various things that can cause this error when you’re running PHP in CGI mode (suPHP), this error showing up in the Apache log was most unusual. Turns out it’s due to the suphp binary missing its sticky/suid permissions.
SecurityException in Application.cpp:188: Do not have root privileges. Executable not set-uid root?
To fix, simply chmod +s the suphp binary:
chmod +s /opt/suphp/bin/suphp
Related posts:





sending...

Wait a minute. I had this very problem after installing fastCGI. Why in the world should suphp still be effecting my server when I’ve completely left it out of the recompile. It seems to have only been effecting wordpress installations.
Fastcgi may be installed, but if PHP is still running in suphp mode it could be a problem.