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

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