You may know how to check the PHP Handler which is running in cPanel server via WHM(Login to WHM>>Configure PHP and suEXEC)
But you can also find the PHP Handler in your server via shell by running the below shown cPanel default script.
Available handlers: suphp dso cgi none
DEFAULT PHP: 5
PHP4 SAPI: none
PHP5 SAPI: suphp
RUID2: not installed