PHP handlers in EasyApache4
Hello everyone,
This is my first post here so i would like to thank everyone for sharing knowledge and helping others. Now let's get to the point.
I am a little bit confused regarding PHP Handlers in EasyApache4. I have a newly installation of cpanel WHM 62.0 (build 10) and as stated here PHP Handlers - EasyApache 4 - cPanel Documentation there are five PHP Handlers to choose from. (CGI, DSO,FPM,FCGId and suPHP).
What confuses me is the following menu in the MultiPHP Manager:
45051
which actually allow me to select any PHP version and enable or disable PHP-FPM on top of this version. Here are the results of:
Does this means that i can use ea-php55 (which is configured to run as suphp ) and then enable PHP-FPM? Does this means that i can combine two different handlers in one domain?
/usr/local/cpanel/bin/rebuild_phpconf --current
ea-php55 SAPI: suphp
ea-php56 SAPI: cgi
ea-php70 SAPI: cgi
ea-php71 SAPI: cgi
Does this means that i can use ea-php55 (which is configured to run as suphp ) and then enable PHP-FPM? Does this means that i can combine two different handlers in one domain?
-
Follow these methods to use the fcgi handler. ( no support for multi php ) This is not yet possible for fpm. For sites using fpm, the php version must be selected first, then the fpm should be activated, and this must be done manually for each account. 0 -
The multiphp manager and the option that you have speicified allows you how you want to run PHP, it enables you to select the mode. 0 -
Hello, PHP-FPM is enabled per domain name, as opposed to as a global handler. Thus, you enable it for the individual domain name and that domain name then uses PHP-FPM as opposed to the default handler associated with the specific PHP version. You may also find the following document helpful: MultiPHP Manager for WHM - Documentation - cPanel Documentation Thank you. 0 -
Thanks everyone for the replies. So just to put it right. When PHP-FPM is turned OFF "PHP Version" drop down menu is used for choosing php version (and its assosiated Handler - suPHP or cgi in my case) and when PHP-FPM is turned ON the "PHP Version" drop down menu is used for choosing JUST php version and the handler will always remain PHP-FPM. Is that right? 0 -
Hello, Yes, that's correct. Also, the default PHP Handlers do not apply to PHP-FPM, so if you wanted to change the default handlers for the versions of PHP on the system, you'd browse to the "PHP Handlers" tab in MultiPHP Manager. Thank you. 0
Please sign in to leave a comment.
Comments
5 comments