• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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