Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: cPanel PHP error: SecurityException in Application.cpp  (Read 2710 times)

0 Members and 1 Guest are viewing this topic.

vinayakk

  • Guest
cPanel PHP error: SecurityException in Application.cpp
« on: January 11, 2014, 02:41:43 am »
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
  :) :)