SecurityException in Application cpp

SecurityException in Application cpp 193: Do not have root privileges. Executable not setuid root?

There are many reason available to cause this Internet Server Error when you running php as CGI.

[Tue Oct 08 20:33:41 2013] [error] [client ] SecurityException in Application.cpp:193: Do not have root privileges. Executable not set-uid root?
[Tue Oct 08 20:33:41 2013] [error] [client ] Premature end of script headers: index.php
[Tue Oct 08 20:33:41 2013] [error] [client ] File does not exist: /home/user/public_html/500.shtml

The error was because the suphp binary was missing its suid permissions. In order to fix this issue, check suphp binary permission and change it.

chmod +s /opt/suphp/sbin/suphp

Thats all

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

cPHulk Brute Force Protection

WHM/cPanel has a service, protected from Brute Force attack, which is called “cPHulk Brute Force...

Enable SSH key authorized login without root password

You need to generate SSH Key ( the private key )on your cpanel server and then update remote...

How can I Redirect URLs in cPanel

Login your cpanel 1. Click the Redirects button on the front page under the “domains” 2. Enter...

Enable Custom php.ini for Fast CGI

With fast-cgi, custom php.ini needs to be in the cgi-bin folder. 1) Move php.ini to cgi-bin...

ConfigServer Firewall CSF installation

ConfigServer firewall is a popular linux firewall security suite. It is easy to install, flexible...