• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Question how to check/install PHP-FPM handlers for apache

christian

Basic Pleskian
i must install and set PHP-FPM handers on
OS ‪CentOS Linux 7.3.1611 (Core)‬
Plesk version: 12.5.30 Update n° 75

in plesk components, i can see:
httpd 2.4.6-45.el7.centos.4
php 5.4.16-42.el7
php-fpm 5.4.16-42.el7
php54 5.4.45-centos7.17090117
php55 5.5.38-centos7.17090117
php56 5.6.35-centos7.18033012
php70 7.0.29-centos7.18033012

i already have this handlers list availables.
on 5.4.16 by OS vendor Application CGI
on 5.4.16 by OS vendor Application FastCGI
on 5.4.16 by OS vendor Application PHP
on 5.4.16 by OS vendor Module Apache
on 5.4.45 Application CGI
on 5.4.45 Application FastCGI
on 5.4.45 Application PHP
on 5.5.38 Application CGI
on 5.5.38 Application FastCGI
on 5.5.38 Application PHP
on 5.6.35 Application CGI
on 5.6.35 Application FastCGI
on 5.6.35 Application PHP
on 7.0.29 Application CGI
on 7.0.29 Application FastCGI
on 7.0.29 Application PHP

in components, i see php-fpm 5.4.16-42.el7 but can't find it in php handlers list..

in services, i can see :
PHP-FPM 5.4.16 by OS vendor enabled, but can't use/select on domain php setting
PHP-FPM 5.6.35 enabled, but same think, how to use it in domain.?
PHP-FPM 5.5.38 not enabled, with message 'not configured' ... how to.?
PHP-FPM 7.0.29 not enabled with message 'not configured' ... how to.?

To prepare update to plesk onyx, i must have PHP-FPM handlers availables for all php versions.
but founded nothing about php-fpm on update/install components webpage.

due to specific websites/domains organization i must use php-fpm with apache to ensure compatibility and preserve functionnalitys,
the only one working solution founded is to use php-fpm with apache,
actually, the config use php 5.4.16 by os vendor running as apache module served by apache.

it's about production server, with, more than 300 websites..

the question is:
how to add / install / check / enable php-fpm handlers for each php version?

how to check wich name is linked to wich handler.?

i found many differents docs, for many versions, old, less old, .
i' very in doubt about what precise procedure to use to

thank you.
 
Last edited:
Disabling Previous PHP Handlers

To do this, we just need to rename the suPHP module to something else like this:

mv suphp.conf suphp.conf.bak

In addition, FastCGI can work without virtual hosts. So if you created a virtual hosts file, you can rename that as well:

mv [yourdomainname/IP address].conf [yourdomainname/IP address].conf.bak

Restart Apache and you should be back to using the default Apache handler.
 
Back
Top