• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • 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.

Disable PHP-FPM, not working

LinqLOL

Basic Pleskian
In our case we don't want to use PHP-FPM. Since 12.5 php-fpm seems the default handler for serviceplan addons and causing problems because of Selinux policies missing on our side.

Even "/usr/local/psa/bin/php_handler --disable -id fpm" does not does work here.

Any clue?
 
Try to remove corresponding packages with

# rpm -e plesk-php54-fpm
# rpm -e plesk-php56-fpm
# rpm -e plesk-php70-fpm

and so on.
 
Well that was my idea but I get:
php-fpm >= 5.4.16 is needed by (installed) psa-phpfpm-configurator-1.0.0-cos7.build1205150819.14.x86_64
 
Hmm, I have tested it and see no any dependencies problems:

[root@ppu12-5 ~]# rpm -e --test plesk-php70-fpm
[root@ppu12-5 ~]# rpm -e --test plesk-php56-fpm
[root@ppu12-5 ~]#
 
Well in our case we only have the system php installation:

rpm -qR psa-phpfpm-configurator-1.0.0-cos7.build1205150819.14.x86_64
plesk-base >= 12.5.30
psa-mod_proxy
php-fpm >= 5.4.16
psa-php5-configurator
/bin/sh
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadIsXz) <= 5.2-
 
What is output of

# rpm -e --test php-fpm psa-phpfpm-configurator

?
 
Oke great that did worked, I had todo a restart of plesk services. So these are all the steps you need (For whoever needs it):

Code:
rpm -e php-fpm psa-phpfpm-configurator

service sw-cp-server restart

service sw-engine restart

service psa restart

Thanks @igor +1
 
Back
Top