• 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.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Wordpress Toolkit complaining that PHP version is not 5.3 or higher...

Martin_Masson

New Pleskian
Hello,

We are trying to use the new Wordpress toolkit, but when we try to install an instance it says this:

warning.png
Contact your service provider for assistance. Upgrade the system PHP CLI to version 5.3.0 or later, or set the correct path to the PHP CLI in the clipath option of the php_handler utility for a custom PHP handler.

Screenshot:
Screen Shot 2015-02-05 at 11.44.28 PM.png


Now that would not be a problem if the requirements were not met, but there are installed PHP versions that are higher than 5.3 and the website is configured to us these versions...

# /usr/local/psa/bin/php_handler --list
id: display name: full version: version: type: cgi-bin: php-cli: php.ini: custom:
2 5.5.14 5.5.14 5.5 fastcgi /usr/local/php5514-cgi/bin/php-cgi /usr/local/php5514-cgi/bin/php /usr/local/php5514-cgi/etc/php.ini true
3 5.3.29 5.3.29 5.3 fastcgi /usr/local/php5329-cgi/bin/php-cgi /usr/local/php5329-cgi/bin/php /usr/local/php5329-cgi/etc/php.ini true
cgi 5.2.17 5.2.17 5 cgi /usr/bin/php-cgi /etc/php.ini false
fastcgi 5.2.17 5.2.17 5 fastcgi /usr/bin/php-cgi /etc/php.ini false
module 5.2.17 5.2.17 5 module /usr/bin/php-cgi /etc/php.ini false


The website is using this version, and the PHP CLI is defined in the php_handler tool
Screen Shot 2015-02-05 at 11.42.23 PM.png

I must be missing something obvious.

Anyone has any idea as to what I may do?

Thanks
Martin
 
Check in psa database version of php. For example:

mysql> select * from Components where name='php';

+------+---------------------+

| name | version |
+------+---------------------+

| php | 5.2.17-1.el5.centos |
+------+---------------------+
1 row in set (0.00 sec)

As possible solution update 'version' field with correct name of your modern version of php.
Contact Support Team if you are not familiar with SQL.
 
I should have give you that before.

[root@ptq-plesk-01:~]# /usr/local/psa/bin/php_handler --list
id: display name: full version: version: type: cgi-bin: php-cli: php.ini: custom:
2 5.5.14 5.5.14 5.5 fastcgi /usr/local/php5514-cgi/bin/php-cgi /usr/local/php5514-cgi/bin/php /usr/local/php5514-cgi/etc/php.ini true
3 5.3.29 5.3.29 5.3 fastcgi /usr/local/php5329-cgi/bin/php-cgi /usr/local/php5329-cgi/bin/php /usr/local/php5329-cgi/etc/php.ini true
cgi 5.2.17 5.2.17 5 cgi /usr/bin/php-cgi /etc/php.ini false
fastcgi 5.2.17 5.2.17 5 fastcgi /usr/bin/php-cgi /etc/php.ini false
module 5.2.17 5.2.17 5 module /usr/bin/php-cgi /etc/php.ini false

5.5.14:
# /usr/local/php5514-cgi/bin/php -v
PHP 5.5.14 (cli) (built: Jul 16 2014 13:24:32)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies

5.3.19:
# /usr/local/php5329-cgi/bin/php -v
PHP 5.3.29 (cli) (built: Oct 1 2014 21:42:26)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2014 Zend Technologies

Module 5.2.17:
# /usr/bin/php -v
PHP 5.2.17 (cli) (built: Feb 13 2012 10:37:59)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
with the ionCube PHP Loader v4.6.0, Copyright (c) 2002-2014, by ionCube Ltd.

 
My understanding is that those versions of PHP are just additional versions which are called on demand. But the default System version of PHP is what you get when you run php -v which as you see is 5.2.17 the cause of the complaint of WP toolkit...

You might have to upgrade your PHP CLI as stated / advised by the toolkit.
 
Yeah, ok... I might try to do that... And install the old 5.2 version as an additional version.

It's a 6 years old CenOS 5.x installation, I hope all the websites on it will support it.

Thanks for the suggestion, I will update the thread when it's done.
 
Back
Top