Executable not set-uid root

3/5 - (1 vote)

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


  1. Nathan Reply

    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.

  2. Vit Reply

    i gt same errors and pages unavailable when enabling that ruid2 in tweak settings (have suphp)

    so I dont have:
    but i have:

    so i did that chmod on it, and enabled ruid & apache restart. error still there

Leave a Reply

Your email address will not be published. Required fields are marked *

Log in