• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Wrong PHP version showing inside Plesk panel

Lukas

New Pleskian
I recently updated my PHP version from 5.3 to 5.5.27.

When I check my php version using ssh I get this:

# php -v
PHP 5.5.27 (cli) (built: Jul 10 2015 23:40:40)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2015 Zend Technologies


But on a list of available versions I don't see version 5.5.27:

# /usr/local/psa/bin/php_handler --list
Warning: Current locale is unusable. Using 'C' instead.
id: display name: full version: version: type: cgi-bin: php.ini: custom:
cgi 5.3.3 5.3.3 5.3 cgi /usr/bin/php-cgi /etc/php.ini false
fastcgi 5.3.3 5.3.3 5.3 fastcgi /usr/bin/php-cgi /etc/php.ini false
fastcgi-5.5.23 5.5.23 5.5.23 5.5 fastcgi /php/php-5.5.23/bin/php-cgi /php/php-5.5.23/etc/php.ini true
module 5.3.3 5.3.3 5.3 module /usr/bin/php-cgi /etc/php.ini false

Same thing inside Plesk admin panel - I see version 5.3.3 instead of 5.5.27.

How can I fix that ?
 
But have you registered handler of this version 5.5.27 before checking list of available handlers?
 
I think I didn't, and I am not sure how to do it.
I didn't add another installation of PHP, I just updated the main installation.
 
Back
Top