How to check if a server is Suexec or not?

To check the server is Suexec or not? follow the one of the steps which suitable with your privileges

1) Login into you server with the root login details and run following command

[root@xx.xx.xx ~]#/usr/local/cpanel/bin/rebuild_phpconf –current

If server is Suexec then result would look like

DEFAULT PHP: 5 PHP4
SAPI: suphp PHP5 SAPI:
suphp SUEXEC: enabled


Thank You.

    0 comments: