• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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