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.
root@rushi []# /usr/local/cpanel/bin/rebuild_phpconf – –current
Available handlers: suphp dso cgi none
PHP4 SAPI: suphp
PHP5 SAPI: suphp
SUEXEC: enabled
If PHP5 SAPI or PHP4 SAPI it shows the suphp then the server is suexec server

Related posts

Leave a Comment