Hello Tommy,
How to check PHP handler in Cpanel/WHM?
How to check PHP handler in Cpanel/Whm?
Moderator: Staff
cPanel Server Management
@ 30$ Onwards
@ 30$ Onwards
Re: How to check PHP handler in Cpanel/Whm?
Hello Jackk,
To list the active PHP handler through command line option
Login to server as root through SSH
1) To check currently used Apache PHP Handler
/usr/local/cpanel/bin/rebuild_phpconf --current
[root@server ~]# /usr/local/cpanel/bin/rebuild_phpconf --current
DEFAULT PHP: ea-php71
ea-php56 SAPI: suphp
ea-php70 SAPI: suphp
ea-php71 SAPI: suphp
ea-php72 SAPI: suphp
ea-php73 SAPI: suphp
2) Also, you can check the available PHP handler into the server
/usr/local/cpanel/bin/rebuild_phpconf --available
[root@server ~]# /usr/local/cpanel/bin/rebuild_phpconf --available
ea-php56: cgi none suphp
ea-php70: cgi none suphp
ea-php71: cgi none suphp
ea-php72: cgi none suphp
ea-php73: cgi none suphp
To list the active PHP handler through command line option
Login to server as root through SSH
1) To check currently used Apache PHP Handler
/usr/local/cpanel/bin/rebuild_phpconf --current
[root@server ~]# /usr/local/cpanel/bin/rebuild_phpconf --current
DEFAULT PHP: ea-php71
ea-php56 SAPI: suphp
ea-php70 SAPI: suphp
ea-php71 SAPI: suphp
ea-php72 SAPI: suphp
ea-php73 SAPI: suphp
2) Also, you can check the available PHP handler into the server
/usr/local/cpanel/bin/rebuild_phpconf --available
[root@server ~]# /usr/local/cpanel/bin/rebuild_phpconf --available
ea-php56: cgi none suphp
ea-php70: cgi none suphp
ea-php71: cgi none suphp
ea-php72: cgi none suphp
ea-php73: cgi none suphp