• 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

Error trying to upgrade php version

D

DanielJB

Guest
Hello,

I'm trying to update php version (5.1.6 to 5.3) on:

$ cat /usr/local/psa/version
10.2.0 CentOS 5 102100709.06

$ uname -a
Linux verbio.com 2.6.18-194.26.1.el5 #1 SMP Tue Nov 9 12:54:20 EST 2010 x86_64 x86_64 x86_64 GNU/Linux

$ cat /etc/redhat-release
CentOS release 5.8 (Final)

but I get the folllowing error:

# /usr/local/psa/admin/sbin/autoinstaller --select-release-current --install-component php53
File downloading products.inf3: 100% was finished.
File downloading plesk.inf3: 10%..20%..30%..40%..50%..60%..70%..80%..90%..100% was finished.
File downloading ppsmbe.inf3: 18%..28%..39%..49%..59%..70%..80%..90%..100% was finished.
File downloading sitebuilder.inf3: 10%..38%..51%..64%..77%..89%..100% was finished.
File downloading sso.inf3: 10%..24%..37%..51%..64%..78%..91%..100% was finished.
File downloading setemplates.inf3: 19%..44%..69%..94%..100% was finished.
File downloading pp-sitebuilder.inf3: 12%..26%..33%..40%..54%..61%..75%..82%..96%..100% was finished.
File downloading billing.inf3: 10%..22%..34%..45%..51%..62%..74%..85%..91%..100% was finished.
Checking for installed packages...
ERROR: The product with ID plesk is not installed on the server

Any advice on how can I upgrade php?

Thank you
//Dani
 
Hi,

Did you tried the second method specified in the kb article ?

Tools&Utilities > Panel > Updates > Add Components > select PHP5.3 and continue. If the error countiues check out the update error log. That will gave more idea.

Thank you.
 
Hi,

second method ended with the following error:

---
A dependency problem is found: required package plesk-core-10.12.0-cos5.build1012110629.18.x86_64 conflicts with psa-api-10.2.0-cos5.build102100709.06.noarch. No upgrade or obsolete solution was found for psa-api. Try to add psa-api to removable list.Problem occured during searching conflicts for package plesk-core-10.12.0-cos5.build1012110629.18.x86_64 Execute command /usr/sbin/getenforce
Disabled
ERROR: Unable to proceed with the installation until the package psa-api-10.2.0-cos5.build102100709.06.noarch is removed from the system.
Not all packages were installed.
Please resolve this issue and try installing the packages again.
If you cannot resolve the issue on your own, contact product technical support for assistance.
---

Anyway, I ended up by installing php53 via Atomic repos

# wget -q -O - http://www.atomicorp.com/installers/atomic | sh
# yum upgrade --skip-broken

Note: "--skip-broken" added because of:
Error: Missing Dependency: psa >= 9.0 is needed by package 1:psa-atmail-1.04-3.el5.art.noarch (atomic)

As a result, our server has PHP 5.3 installed now, but a new problem arised. Atmail's loggin screen appears completely blank.

Regards
//Dani
 
the php upgrade is failed through Plesk is because of the missing plesk rpm packages in the server ?

Did you tried installing these missing packages in the server by downloading the rpm manually from the Plesk repo ?
 
Back
Top