• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

PHP 5.5.8 with Plesk 11.5 - also PHP-FPM

brainforge

Basic Pleskian
Using Plesk 11.5 on Centos 6 server.
Built-in PHP version is 5.3.3.

I have additionally compiled and installed PHP 5.5.8.
Did not try to use yum as that would overwrite the built-in 5.3.3.

I used /usr/local/psa/bin/php_handler as below to show it in the domain setting scripting listing box
/usr/local/psa/bin/php_handler --add -displayname "5.5.8" \
-path /usr/local/php-5.5.8/bin/php-cgi \
-phpini /usr/local/php-5.5.8/etc/php.ini \
-type fastcgi -id "fastcgi-5.5.8"

All seems well and good.
In Plesk domain websites and domains settings it shows 5.5.
Followed these instructions:
http://brainforge.co.uk/downloads/category/26-php-plesk-centos

Now taken it a step further to try to use PHP-FPM with 5.5.8
Through Plesk panel installed the nginx and php-fpm components in the normal way.
Then tried to make it use the 5.5.8 executable as follows:
service php-fpm stop

rm -f /usr/sbin/php-fpm
ln -s /usr/local/php-5.5.8/sbin/php-fpm /usr/sbin/php-fpm

rm -f /etc/init.d/php-fpm
ln -s /usr/local/php-5.5.8/etc/init.d/php-fpm /etc/init.d/php-fpm

rm -f /usr/local/php-5.5.8/etc/php-fpm.conf
rm -f /usr/local/php-5.5.8/etc/php-fpm.d
ln -s /etc/php-fpm.conf /usr/local/php-5.5.8/etc
ln -s /etc/php-fpm.d /usr/local/php-5.5.8/etc

service php-fpm start

Again it seems to work OK.
However, in Plesk domain websites and domains settings it still shows 5.3.3, the site itself is using 5.5.8/
This is confusing.
Is there something similar to /usr/local/psa/bin/php_handler which will enable this to be corrected.
 
Back
Top