To list the current PHP handler in WHM, navigate to:
WHM >> Home >> Service Configuration >> Configure PHP and suExec
To list the current PHP handler via Command line run the following:
#/usr/local/cpanel/bin/rebuild_phpconf –current
Sample output:
# /usr/local/cpanel/bin/rebuild_phpconf –current Available handlers: suphp dso cgi none DEFAULT PHP: 5 PHP4 SAPI: none PHP5 SAPI: suphp SUEXEC: enabled RUID2: not installed
The above output shows you that currently SuPHP handler is enabled.
The third option to list the PHP hander is to check what is in /usr/local/apache/conf/php.conf :
#cat /usr/local/apache/conf/php.conf
That’s it!