To check the Available handlers for php on the server, refer to the following command, it will help to set the proper handlers for php on the server to run the scripts without any problem.
/usr/local/cpanel/bin/rebuild_phpconf –available
The above command will give following result
/usr/local/cpanel/bin/rebuild_phpconf –available
Available handlers: suphp dso cgi none
PHP4 SAPI: not installed
PHP5 SAPI: cgi-fcgi
SUEXEC: available
RUID2: not available