• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

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