• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • 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.

Upgrade to PHP 5.3 on CentOS 5.7 using Plesk 10.2

B

BenWonka

Guest
I have seen many threads regarding upgrading PHP to 5.3 but none of the suggestions in any of the threads has worked so I am starting a new thread.

*** I am running Plesk Panel 10.2 on CentOS 5.7 and my current version of PHP is 5.1.6 ***:

# cat /etc/redhat-release
CentOS release 5.7 (Final)

# php -v
PHP 5.1.6 (cli) (built: Nov 29 2010 16:47:46)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
with the ionCube PHP Loader v4.0.7, Copyright (c) 2002-2011, by ionCube Ltd.

I have tried upgrading PHP to 5.3 using both the CLI and GUI.

When I open the GUI and choose the following:

"Server Management" -> "Tools and Utilities" -> "Panel" -> "Updates" and select "Add Components"

I do NOT have the following option:

"Different PHP interpreter versions"

The only option I have is called "PHP5 support" and it says that it is up-to-date.

Here is the response using the CLI:

# /usr/local/psa/admin/sbin/autoinstaller --select-release-current --install-component php53
File downloading products.inf3: 100% was finished.
File downloading plesk.inf3: 10%..24%..38%..51%..78%..100% was finished.
File downloading pp-sitebuilder.inf3: 21%..32%..44%..56%..67%..79%..91%..100% was finished.
Checking for installed packages...
File downloading PSA_10.2.0/plesk-10.2.0-cos5-x86_64.inf3: 10%..20%..30%..40%..50%..60%..70%..80%..90%..100% was finished.
File downloading PSA_10.2.0/plesk-patches-10.2.0-all.inf3: 28%..43%..75%..100% was finished.
File downloading SITEBUILDER_5.2.0/sitebuilder-5.2.0-rhall-all.inf3: 100% was finished.
Detecting installed product components.
Warning: following component(s) not found: 'php53'
You already have the latest version of product(s) and all selected components
installed. Installation will not continue.


Q1: Can you tell me why neither the CLI or GUI solutions listed on these forums is working in this case as I would prefer to use a solution supported by Parallels?

Q2: Can I use a CentOS mirror and yum to upgrade to php53 or will this break the Plesk Panel?


More info that may help:

# yum list php*
Installed Packages
php.x86_64 5.1.6-27.el5_5.3 installed
php-bcmath.x86_64 5.1.6-27.el5_5.3 installed
php-cli.x86_64 5.1.6-27.el5_5.3 installed
php-common.x86_64 5.1.6-27.el5_5.3 installed
php-dba.x86_64 5.1.6-27.el5_5.3 installed
php-devel.x86_64 5.1.6-27.el5_5.3 installed
php-gd.x86_64 5.1.6-27.el5_5.3 installed
php-imap.x86_64 5.1.6-27.el5_5.3 installed
php-ldap.x86_64 5.1.6-27.el5_5.3 installed
php-mbstring.x86_64 5.1.6-27.el5_5.3 installed
php-mysql.x86_64 5.1.6-27.el5_5.3 installed
php-ncurses.x86_64 5.1.6-27.el5_5.3 installed
php-odbc.x86_64 5.1.6-27.el5_5.3 installed
php-pdo.x86_64 5.1.6-27.el5_5.3 installed
php-pear.noarch 1:1.4.9-6.el5 installed
php-snmp.x86_64 5.1.6-27.el5_5.3 installed
php-soap.x86_64 5.1.6-27.el5_5.3 installed
php-xml.x86_64 5.1.6-27.el5_5.3 installed
php-xmlrpc.x86_64 5.1.6-27.el5_5.3 installed
php5-ioncube-loader.x86_64 4.0.7-11030112 installed
Available Packages
php-dbase.x86_64 5.1.6-15.el5.centos.1 extras
php-mcrypt.x86_64 5.1.6-15.el5.centos.1 extras
php-mhash.x86_64 5.1.6-15.el5.centos.1 extras
php-mssql.x86_64 5.1.6-15.el5.centos.1 extras
php-pear-Auth-SASL.noarch 1.0.2-4.el5.centos extras
php-pear-DB.noarch 1.7.13-1.el5.centos extras
php-pear-Date.noarch 1.4.7-2.el5.centos extras
php-pear-File.noarch 1.2.2-1.el5.centos extras
php-pear-HTTP-Request.noarch 1.4.2-1.el5.centos extras
php-pear-Log.noarch 1.9.13-1.el5.centos extras
php-pear-MDB2.noarch 2.4.1-2.el5.centos extras
php-pear-MDB2-Driver-mysql.noarch 1.4.1-3.el5.centos extras
php-pear-Mail.noarch 1.1.14-1.el5.centos extras
php-pear-Mail-Mime.noarch 1.4.0-1.el5.centos extras
php-pear-Net-SMTP.noarch 1.2.10-1.el5.centos extras
php-pear-Net-Sieve.noarch 1.1.5-2.el5.centos extras
php-pear-Net-Socket.noarch 1.0.8-1.el5.centos extras
php-pear-Net-URL.noarch 1.0.15-1.el5.centos extras
php-pecl-Fileinfo.x86_64 1.0.4-3.el5.centos extras
php-pecl-memcache.x86_64 2.2.3-1.el5_2 extras
php-pgsql.x86_64 5.1.6-27.el5_5.3 base
php-readline.x86_64 5.1.6-15.el5.centos.1 extras
php-tidy.x86_64 5.1.6-15.el5.centos.1 extras
php53.x86_64 5.3.3-1.el5_7.3 updates
php53-bcmath.x86_64 5.3.3-1.el5_7.3 updates
php53-cli.x86_64 5.3.3-1.el5_7.3 updates
php53-common.x86_64 5.3.3-1.el5_7.3 updates
php53-dba.x86_64 5.3.3-1.el5_7.3 updates
php53-devel.x86_64 5.3.3-1.el5_7.3 updates
php53-gd.x86_64 5.3.3-1.el5_7.3 updates
php53-imap.x86_64 5.3.3-1.el5_7.3 updates
php53-intl.x86_64 5.3.3-1.el5_7.3 updates
php53-ldap.x86_64 5.3.3-1.el5_7.3 updates
php53-mbstring.x86_64 5.3.3-1.el5_7.3 updates
php53-mysql.x86_64 5.3.3-1.el5_7.3 updates
php53-odbc.x86_64 5.3.3-1.el5_7.3 updates
php53-pdo.x86_64 5.3.3-1.el5_7.3 updates
php53-pgsql.x86_64 5.3.3-1.el5_7.3 updates
php53-process.x86_64 5.3.3-1.el5_7.3 updates
php53-pspell.x86_64 5.3.3-1.el5_7.3 updates
php53-snmp.x86_64 5.3.3-1.el5_7.3 updates
php53-soap.x86_64 5.3.3-1.el5_7.3 updates
php53-xml.x86_64 5.3.3-1.el5_7.3 updates
php53-xmlrpc.x86_64 5.3.3-1.el5_7.3 updates

# rpm -qa | grep -i php
php-ldap-5.1.6-27.el5_5.3
php-pdo-5.1.6-27.el5_5.3
php-imap-5.1.6-27.el5_5.3
php-dba-5.1.6-27.el5_5.3
php-odbc-5.1.6-27.el5_5.3
php-soap-5.1.6-27.el5_5.3
php-mbstring-5.1.6-27.el5_5.3
php-ncurses-5.1.6-27.el5_5.3
php-cli-5.1.6-27.el5_5.3
php-mysql-5.1.6-27.el5_5.3
php-xmlrpc-5.1.6-27.el5_5.3
php-gd-5.1.6-27.el5_5.3
php-pear-1.4.9-6.el5
psa-php5-configurator-1.6.1-cos5.build1011110330.18
php-common-5.1.6-27.el5_5.3
php-5.1.6-27.el5_5.3
php-xml-5.1.6-27.el5_5.3
php-devel-5.1.6-27.el5_5.3
php5-ioncube-loader-4.0.7-11030112
php-snmp-5.1.6-27.el5_5.3
php-bcmath-5.1.6-27.el5_5.3

Thanks,
Ben
 
Update your Plesk to latest 10.4.4 version then go to Tools&Utilities > Panel > Updates > Add Components > select PHP5.3 support and continue.
 
Update your Plesk to latest 10.4.4 version then go to Tools&Utilities > Panel > Updates > Add Components > select PHP5.3 support and continue.

I am running centos 5.7/ psa 10.4.4 and when I try go to "Updates and Upgrades" which goes to https://my.com:8443/admin/update/product/ I just get a blank page. How can I troubleshoot and resolve this? I'd like to install php 5.3 too via the panel to fix a horde issue.

Thanks,
charles
 
Thanks Igor

I did indeed have this port blocked, so I opened it up and verified I could telnet to it from both inside and put. However the page still wouldn't load. I checked and there were autoinstaller processes running (appeared to be one for each attempt) and when I ran this on the commandline as a test I got this error

# /usr/local/psa/admin/bin/autoinstaller --service-mode --enable-xml-output --ssl-cert /usr/local/psa/admin/conf/httpsd.pem --branch current,release,stable --web-interface --with-ssl --disable-browser
ERROR: You specified wrong combination of options.
The options web-interface and service-mode cannot be used together.
Refer to installer's help page for details (run Parallels Installer with --help option).

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?><autoinstaller status="error" error_message="You specified wrong combination of options.
The options web-interface and service-mode cannot be used together.
Refer to installer&apos;s help page for details (run Parallels Installer with --help option).
" error_class="user" />

service-mode isn't documented in the help but If I remove web-interface it seems to want to interact. If I remove service-mode it just says the daemon is started. In any event, I am not sure what combination works, nor where I'd change this.

Any suggestions?

Thanks,
charles
 
Should I start a new thread? I really don't want to install php53 - that was an attempt to solve a problem with horde which is now fixed (thanks).

Bu I *do* want to be able to use the "Updates and Upgrades" feature from the UI. See above for the error and what I see running on the commandline when I try use it.

Thanks,
charles
 
Anyone have any suggestions on how I can use the Updates and Upgrades feature from the UI?

Thanks,
charles
 
Back
Top