Note: This article applies to Parallels Plesk Panel 9.5.4 with PHP 5.3 installed on CentOS 5.
If you would like to update PHP 5.3, provided by Parallels Plesk Panel 9.5.4 from a third-party repository like atomic or remi on CentOS 5, you may receive the following error messages:
# yum update php
...
...
Error: Missing Dependency: php53-mysql is needed by package psa-php53-configurator-1.5.3-cos5.build95110708.13.noarch (installed)
Error: Missing Dependency: php53-pdo is needed by package psa-php53-configurator-1.5.3-cos5.build95110708.13.noarch (installed)
Error: Missing Dependency: php53-gd is needed by package psa-php53-configurator-1.5.3-cos5.build95110708.13.noarch (installed)
Error: Missing Dependency: php53 >= 5.3.0 is needed by package php53-sqlite2-5.3.2-11070811.i386 (installed)
Error: Missing Dependency: php53-mbstring is needed by package psa-php53-configurator-1.5.3-cos5.build95110708.13.noarch (installed)
Error: Missing Dependency: php53 is needed by package psa-php53-configurator-1.5.3-cos5.build95110708.13.noarch (installed)
Error: Missing Dependency: php53-imap is needed by package psa-php53-configurator-1.5.3-cos5.build95110708.13.noarch (installed)
Error: Missing Dependency: php53-cli is needed by package psa-php53-configurator-1.5.3-cos5.build95110708.13.noarch (installed)
Error: Missing Dependency: php53-xml is needed by package psa-php53-configurator-1.5.3-cos5.build95110708.13.noarch (installed)
You could try using the –skip-broken command to work around the problem.
You could also try running the package-cleanup –problems command below:
package-cleanup –dupes
rpm -Va –nofiles –nodigest
(The program package-cleanup is found in the yum-utils package.
Resolution
1. Define the following installed PHP 5.3-related packages:
# rpm -qa | grep php
php53-5.3.3-1.el5_6.1
php53-mysql-5.3.3-1.el5_6.1
php5-ioncube-loader-4.0.7-11031509
php53-cli-5.3.3-1.el5_6.1
php53-imap-5.3.3-1.el5_6.1
php53-pdo-5.3.3-1.el5_6.1
php53-sqlite2-5.3.2-11070811
php53-gd-5.3.3-1.el5_6.1
php53-xml-5.3.3-1.el5_6.1
php53-common-5.3.3-1.el5_6.1
php53-mbstring-5.3.3-1.el5_6.1
psa-php53-configurator-1.5.3-cos5.build95110708.13
2. Remove the following psa-php53-configurator and php53-sqlite2 packages:
# rpm -e --nodeps psa-php53-configurator php53-sqlite2
3. Try to update PHP 5.3 again by installing php-sqlite:
# yum update php php-sqlite
4. After updating PHP 5.3, you need to install the following corresponding psa-php-configurator:
For x86 :
# wget http://autoinstall.plesk.com/PSA_9.5.4/dist-rpm-CentOS-5-i386/contrib/psa-php5-configurator-1.5.3-cos5.build95101209.05.noarch.rpm
For x64:
# wget http://autoinstall.plesk.com/PSA_9.5.4/dist-rpm-CentOS-5-x86_64/contrib/psa-php5-configurator-1.5.3-cos5.build95101209.08.noarch.rpm
Install psa-php-configurator:
# rpm -ivh psa-php5-configurator-1.5.3-cos5.build95101209.05.noarch.rpm
If you are unable to login to Atmail after the PHP upgrade, reference the following article:Error «Unable to get webmail password!» at login to AtMail