How to check if a server is Suexec or not?

To check if the server is Suexec or not? follow the steps as below:

Login into you server with the root details and run following command:

/usr/local/cpanel/bin/rebuild_phpconf --current

If server is Suexec then result would be as follows:

Available handlers: suphp dso cgi none
DEFAULT PHP: 5
PHP4 SAPI: none
PHP5 SAPI: suphp
SUEXEC: enabled
RUID2: not installed

Enjoy.