How to check server is suexec or not

How to check server is suexec or not?
make 777 permission for index.php file for a clients domain and then access it, if it gives an error as Internal server then sure it is suexec server this time copy servers php.ini file and make necessary changes for client.
or
root@rushi []# /usr/local/cpanel/bin/rebuild_phpconf – –current
Available handlers: suphp dso cgi none
DEFAULT PHP: 5
PHP4 SAPI: suphp
PHP5 SAPI: suphp
SUEXEC: enabled
If PHP5 SAPI or PHP4 SAPI it shows the suphp then the server is suexec server

Leave a Comment