How to check PHP handler in Cpanel/Whm?

Discussions related with hosting control panels used, which include cPanel, Plesk, Directadmin etc..

Moderator: Staff

Post Reply
Jackk
Posts: 0
Joined: Fri Apr 13, 2018 7:18 pm

How to check PHP handler in Cpanel/Whm?

Post by Jackk »

Hello Tommy,

How to check PHP handler in Cpanel/WHM?


Tommy
Posts: 0
Joined: Wed Sep 09, 2020 12:10 pm

Re: How to check PHP handler in Cpanel/Whm?

Post by Tommy »

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


If you are looking for assistance in server management, please get in touch with our support.
Post Reply