• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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