SecurityException in Application.cpp:188: Do not have root privileges. Executable not set-uid

If you’re getting Internal server error all over the places on your websites on a cPanel server and PHP is configured to run as suphp CGI mode, then you might be observing the following error on error_log due to ModSecurity. It might be searching for the sticky/suid permission on suphp binary:

SecurityException in Application.cpp:188: Do not have root privileges. Executable not set-uid

To quickly get this fixed on your cPanel server execute the following command:

chmod +s /opt/suphp/sbin/suphp

This should fix the issue instantly.

2 Responses to “SecurityException in Application.cpp:188: Do not have root privileges. Executable not set-uid”

  1. Thanks Sir….will use this next time i get the error…coz it happens lot of time……

    Reply

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>