If you want to know whether your server is suexec enabled, you need to login to the server as root and should run the following command.
[root@server]# /usr/local/cpanel/bin/rebuild_phpconf current
if suexec is enabled in the server, output will be as follows.
================
DEFAULT PHP: 5
PHP4 SAPI: suphp
PHP5 SAPI: suphp
SUEXEC: enabled
================
If you dont have shell access, you can check it from WHM
Login to WHM ==> Configure PHP and SuExec
There you can see whether suexec is enabled or not.
If you don’t have root login details of the server, You can check by creating a phpinfo file under your account from
Login to cpanel ==> File manager
Create a file called phpinfo.php with the following function
phpinfo();
After creating the file, you can access it using http://domainname.com/phpinfo.php
If it shows “Server API = CGI” then the server is suexec enabled
If you are not sure how to check your server suexec you can request a free server checkup from SupportPRO engineers. We would be happy to help.
If you require help, contact SupportPRO Server Admin
