• 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.

Custom PHP / PHP Handler

Markus_Eyrich

Basic Pleskian
I upgraded 3 Plesk Installations, 2 9.x Versions and one 10.x Version, all went well but i got one installation where i installed a custom php version and registered it using the handler, but i can't choose it in plesk. Even the handler said "success" while adding it and everything looks fine, i can't choose. Any hint where i can start to search for the problem ?

regards,

Markus
 
Did you use /usr/local/psa/bin/php_handler utility to register?

What is the output of
# plesk bin php_handler --list

You may also try to execute
# plesk sbin packagemng --set-dirty-flag
and then go to UI again.
 
As i said, i did everything the same way on all machines, but this one, no go. I also removed and readded the handler, no chance.

Output of php_handler list:

Code:
id:  display name:  full version:  version:    type:                           cgi-bin:                           php.ini:  custom:
  5.4.16-custom  5.4.16-custom         5.4.16       5.4  fastcgi  /usr/local/php540-cgi/bin/php-cgi  /usr/local/php540-cgi/etc/php.ini     true
            cgi         5.3.25         5.3.25       5.3      cgi                   /usr/bin/php-cgi                       /etc/php.ini    false
        fastcgi         5.3.25         5.3.25       5.3  fastcgi                   /usr/bin/php-cgi                       /etc/php.ini    false
         module         5.3.25         5.3.25       5.3   module                   /usr/bin/php-cgi                       /etc/php.ini    false


Setting the dirty flag didn't do the trick. Any more ideas?
 
I do. It works now, was my stupid fault. I used nginx and fpm to serve php, this is only supported under PHP 5.3, so i couldn't choose a handler.
 
Correct, you cannot use multiple PHP versions for php-fpm. (But you may install pretty much any php-fpm version, provided it is high enough.)
 
Back
Top