• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • 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 Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Issue php versions not matched

105547111

Silver Pleskian
Out of the panel in tools and settings / php settings:

PHP Settings
Select the PHP handlers you want to make available. You can install additional handlers using the Plesk Installer.

13 items totalEntries per page: 10 25 100 All

Handler
Domains
5.4.45 by OS vendor CGI application 0
5.4.45 by OS vendor FastCGI application 0
5.4.45 by OS vendor FPM application 20
5.4.45 by OS vendor mod_php 0
5.6.29 CGI application 0
5.6.29 FastCGI application 0
5.6.29 FPM application 0
7.0.14 CGI application 0
7.0.14 FastCGI application 0
7.0.14 FPM application 0
7.1.0 CGI application 0
7.1.0 FastCGI application 0
7.1.0 FPM application 0
13 items totalEntries per page: 10 25 100 All


Then in tools and settings / server components:

php 5.6.29-1.el7.remi
php-fpm 5.6.29-1.el7.remi
php56 5.6.29-centos7.16120912
php70 7.0.14-centos7.16120818
php71 7.1.0-centos7.16120617

[root@server conf.d]# plesk bin php_handler --reread
The information about PHP handlers was successfully updated.
[root@server conf.d]# plesk bin php_handler --list
id: display name: full version: version: type: cgi-bin: php-cli: php.ini: custom: status:
cgi 5.4.45 by OS vendor 5.6.29 5.6 cgi /usr/bin/php-cgi /usr/bin/php /etc/php.ini false enabled
fastcgi 5.4.45 by OS vendor 5.6.29 5.6 fastcgi /usr/bin/php-cgi /usr/bin/php /etc/php.ini false enabled
fpm 5.4.45 by OS vendor 5.6.29 5.6 fpm /usr/sbin/php-fpm /usr/bin/php /etc/php.ini false enabled
module 5.4.45 by OS vendor 5.6.29 5.6 module /usr/bin/php-cgi /usr/bin/php /etc/php.ini false enabled
plesk-php56-cgi 5.6.29 5.6.29 5.6 cgi /opt/plesk/php/5.6/bin/php-cgi /opt/plesk/php/5.6/bin/php /opt/plesk/php/5.6/etc/php.ini true enabled
plesk-php56-fastcgi 5.6.29 5.6.29 5.6 fastcgi /opt/plesk/php/5.6/bin/php-cgi /opt/plesk/php/5.6/bin/php /opt/plesk/php/5.6/etc/php.ini true enabled
plesk-php56-fpm 5.6.29 5.6.29 5.6 fpm /opt/plesk/php/5.6/sbin/php-fpm /opt/plesk/php/5.6/bin/php /opt/plesk/php/5.6/etc/php.ini true enabled
plesk-php70-cgi 7.0.14 7.0.14 7.0 cgi /opt/plesk/php/7.0/bin/php-cgi /opt/plesk/php/7.0/bin/php /opt/plesk/php/7.0/etc/php.ini true enabled
plesk-php70-fastcgi 7.0.14 7.0.14 7.0 fastcgi /opt/plesk/php/7.0/bin/php-cgi /opt/plesk/php/7.0/bin/php /opt/plesk/php/7.0/etc/php.ini true enabled
plesk-php70-fpm 7.0.14 7.0.14 7.0 fpm /opt/plesk/php/7.0/sbin/php-fpm /opt/plesk/php/7.0/bin/php /opt/plesk/php/7.0/etc/php.ini true enabled
plesk-php71-cgi 7.1.0 7.1.0 7.1 cgi /opt/plesk/php/7.1/bin/php-cgi /opt/plesk/php/7.1/bin/php /opt/plesk/php/7.1/etc/php.ini true enabled
plesk-php71-fastcgi 7.1.0 7.1.0 7.1 fastcgi /opt/plesk/php/7.1/bin/php-cgi /opt/plesk/php/7.1/bin/php /opt/plesk/php/7.1/etc/php.ini true enabled
plesk-php71-fpm 7.1.0 7.1.0 7.1 fpm /opt/plesk/php/7.1/sbin/php-fpm /opt/plesk/php/7.1/bin/php /opt/plesk/php/7.1/etc/php.ini true enabled


[root@server conf.d]# php -v
PHP 5.6.29 (cli) (built: Dec 8 2016 08:42:35)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
with the ionCube PHP Loader v4.7.1, Copyright (c) 2002-2014, by ionCube Ltd.

So why does it insist the base php version is only 5.4.45?

I searched in the psa database and found the old entry in the table:

Database: psa »
dot.gif
Table: ServiceNodeConfiguration

But I shouldn't have to edit the database to show the true php version :(

But after I did the plesk bin php_handler --list returns the edited version.

Is there a bug in plesk bin php_handler --reread not updating the table?

Cheers!
 
Last edited:
You can update these incorrect display names with something like

# /usr/local/psa/bin/php_handler --update -id cgi -displayname '5.6.29 by OS vendor'

etc.
 
Back
Top