• 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

Plesk hosting features: PHP5 support

Azurel

Silver Pleskian
I look today in "Update Product Components" to find a way for forcing update plesk panel and found this strange setting:

"Plesk hosting features: PHP5 support"

What is this mean? Default is php 5.3.3 installed on plesk panel and I have add php 5.4 to it too (http://download1.parallels.com/Ples...inistrator-guide/index.htm?fileName=72042.htm)

Why is here a option to install "PHP5 support"? Unfortunately, there is no description for this option.


EDIT:

In "Add and Remove Product Components" there is

"Plesk hosting features" and "PHP5 support" is green as "installed"......
 
Last edited:
Isn't PHP 5.4 also PHP 5? ;)

Anyway, Parallels Installer will update only PHP installed via itself or upgraded manually to other packages set.
 
You give addiotinal support for a older PHP5 versions? specifically 5.1? I do not understand why. Why not for 5.4 and why you call it "PHP5 support" and not "PHP5.1 support"? PHP5.3 is standard installed. It very confused.
 
No one gives "additional support" for older versions. It is supported the same way modern ones are supported. For those unlucky sitting on prehistoric CentOS/RedHat 5 there is also support for more or less modern php53-* packages shipped by OS vendor. That's all.
 
Ahh okay. Thanks for this explain(if I have understood this correctly^^). But for a normal user is this very confused.

In "Add and Remove Product Components" there is "Plesk hosting features" and "PHP5 support" is green and already "installed".

But under "Update Product Components" there is now again a "PHP5 support" for new install. Why I see this here?
 
In "Add and Remove Product Components" there is "Plesk hosting features" and "PHP5 support" is green and already "installed".

This means that PHP support component is installed (but it may not be the latest version).

But under "Update Product Components" there is now again a "PHP5 support" for new install. Why I see this here?

This means that PHP support component is installed and there are updates for it available (either for PHP packages themselves, or Plesk configurator for PHP can be updated, or both). Leaving checkbox checked next to it and continuing with update will tell Parallels Installer to update that component.
 
Shock! Now I must play detective... can it be... that this mysterious "PHP5 Support" update was really PHP5.4 or was this coming with "yum update"?

Plesk not update security fixes immediately. I waiting for days to do it. So I ask here for manual update:
http://forum.parallels.com/showthread.php?289600-Security-improvements-in-Microupdates
and get this command:
/usr/local/psa/admin/sbin/autoinstaller --select-product-id plesk --select-release-current --reinstall-patch --install-component base

Now the "PHP support" was too gone .. I look with shell
/usr/bin/php –v
and get not a new updated PHP5.3.x version.. suprise .. instead now PHP5.4.17.

That is not funny. I have installed PHP5.4.17 manually with this tutorial: http://download1.parallels.com/Ples...inistrator-guide/index.htm?fileName=72042.htm as second PHP.
/usr/local/bin/php -v => 5.4.17

Addional... vBulletin4 not working correct with PHP 5.4.. requirement is PHP5.3.

Have this command above really installed 5.4 as default? What is here the correct way only update the microupdate and not upgrade php5.3 to php5.4? This line?:

/usr/local/psa/admin/sbin/autoinstaller --select-product-id plesk --select-release-current --reinstall-patch
without this parameter?: "--install-component base"
 
Last edited:
Please post your

# rpm -qa | grep php

and

# yum repolist

assuming you're on CentOS.


Oh... never mind. Judging by neighboring thread you should thank Atomic repo and yourself (doing # yum update) for that.
 
I have now running the backup from yesterday. ;)

rpm -qa | grep php

php-tidy-5.3.25-18.el6.art.x86_64
php-devel-5.3.25-18.el6.art.x86_64
psa-phppgadmin-5.0.4-cos6.build115130415.19.noarch
php-gd-5.3.25-18.el6.art.x86_64
php-xml-5.3.25-18.el6.art.x86_64
php-ioncube-loader-4.4.1-3.el6.art.x86_64
psa11-php-fakepackage-11.0.9-cos6.build110120608.16.x86_64
php-cli-5.3.25-18.el6.art.x86_64
php-5.3.25-18.el6.art.x86_64
php-mbstring-5.3.25-18.el6.art.x86_64
psa11.5-php-fakepackage-11.5.30-cos6.build115130724.19.x86_64
php-common-5.3.25-18.el6.art.x86_64
php-pdo-5.3.25-18.el6.art.x86_64
php-mysql-5.3.25-18.el6.art.x86_64
php-imap-5.3.25-18.el6.art.x86_64
graphviz-php-2.26.0-10.el6.x86_64
php-mcrypt-5.3.25-18.el6.art.x86_64
psa-php5-configurator-1.6.3-cos6.build115130724.19.x86_64
psa-phpmyadmin-3.5.8.1-cos6.build115130618.12.noarch

In Plesk Panel I have "5.3.25" and my custom second "5.4.x" (this is 5.4.17)

But
/usr/bin/php -v says 5.4.17 ... (thats must be 5.3.25?) and
/usr/local/bin/php -v says 5.4.17 too ...?

yum repolist

Loaded plugins: fastestmirror, priorities, replace
Determining fastest mirrors
epel/metalink | 23 kB 00:00
* atomic: www7.atomicorp.com
* epel: mirror.1000mbps.com
atomic | 1.9 kB 00:00
atomic/primary_db | 400 kB 00:00
base | 3.7 kB 00:00
epel | 4.2 kB 00:00
extras | 3.4 kB 00:00
updates | 3.4 kB 00:00
updates/primary_db | 3.8 MB 00:00
337 packages excluded due to repository priority protections
repo id repo name status
atomic CentOS / Red Hat Enterprise Linux 6 - atomicrocketturtle.com 569
base CentOS-6 - Base 6,298+83
*epel Extra Packages for Enterprise Linux 6 - x86_64 9,185+164
extras CentOS-6 - Extras 13
updates CentOS-6 - Updates 960+90
repolist: 17,025
 
Yes. New log in go to hosting settings and can select PHP support 5.4.x and 5.3.25.
Or do you mean something else?
 
OK, maybe I misunderstood your previous post.

Do: # rpm -qf /usr/bin/php
On the result of this command do # rpm -qV `rpm -qf /usr/bin/php`
This will show you modified files.

Also you need to check php-cgi binary version, not php.
 
I was just out of house. Thank you for you feedback. ;)

# rpm -qf /usr/bin/php
php-cli-5.3.25-18.el6.art.x86_64
#rpm -qV `rpm -qf /usr/bin/php`
...no output

So.. I try again.. My problem was MS WORD 2010, that have convert sign "-" to another similar sign.. I type manuell.. I get this:

# /usr/bin/php --version
PHP 5.3.25 (cli) (built: May 12 2013 16:33:12)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2013 Zend Technologies
with the ionCube PHP Loader v4.4.1, Copyright (c) 2002-2013, by ionCube Ltd.

# /usr/local/bin/php --version
PHP 5.4.17 (cli) (built: Jul 15 2013 19:47:33)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies

Alright.. Thats it was my server was yesterday und now after import backup....

today I do this:

/usr/local/psa/admin/sbin/autoinstaller --select-product-id plesk --select-release-current --reinstall-patch --install-component base
Because plesk not update autmatically a security fix after days....
After this command from Igor.. I had in Plesk Panel two PHP 5.4... but I want only update to patch 9 for security reason.

I have (thanks backup) Plesk 11.5.30#8 and in "Update Product Components" again "PHP5 support". This.. I think is PHP 5.4? Will this automatic coming with next update?

EDIT:
Thats was wrong.. I have call "yum update" too and see now that will update php to 5.4.17 with atmoic ... *headshot* big sorry for my big trouble. *shame*

I have set atomic.repo "Enabled = 0"
 
Last edited:
I have choose a other way. :)

I have upgrade with atomic centOS6 PHP5.3.x to PHP5.4.x.
I had installed manually PHP5.4 with this tutorial: http://download1.parallels.com/Ples...inistrator-guide/index.htm?fileName=72042.htm
Now I want overwrite my custom PHP5.4.x with a custom PHP5.3.x. Install working fine, but now I have in Plesk three selections:
* 5.4.17 (new installed with yum update)
* 5.4.x (my first installed custom php)
* 5.3.x (my new installed custom php, which overwrite 5.4.x-custom)

How I can delete "5.4.x" in Plesk? Thats my commands to add it in plesk:

long time ago:
/usr/local/psa/bin/php_handler --add -displayname 5.4.x -path /usr/local/bin//php-cgi -phpini /usr/local/lib/php.ini -type fastcgi -id 5.4.x-custom

today:
/usr/local/psa/bin/php_handler --add -displayname 5.3.x -path /usr/local/bin//php-cgi -phpini /usr/local/lib/php.ini -type fastcgi -id 5.3.x-custom

EDIT:
This have working:
# /usr/local/psa/bin/php_handler --remove -id 5.4.x-custom
Source: http://download1.parallels.com/Ples...e/plesk-unix-cli/index.htm?fileName=72490.htm
 
Last edited:
Back
Top