• 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.

Update PHP to 5.2

MatteoP

New Pleskian
Hello everyone upgrading PHP to version 5.2 I have encountered this error:

Code:
[root@local ~]# yum update
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * atomic: www7.atomicorp.com
 * base: mirror.ovh.net
 * extras: mirror.ovh.net
 * updates: mirror.ovh.net
Excluding Packages in global exclude list
Finished
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package libsepol.i386 0:2.0.36-1.el5.art set to be updated
---> Package libsepol.x86_64 0:2.0.36-1.el5.art set to be updated
--> Processing Dependency: libmysqlclient.so.15()(64bit) for package: psa-spamassassin
--> Processing Dependency: libmysqlclient.so.15()(64bit) for package: psa
--> Processing Dependency: libmysqlclient.so.15()(64bit) for package: psa-mail-driver-common
--> Processing Dependency: libmysqlclient.so.15()(64bit) for package: psa-kav
--> Processing Dependency: libmysqlclient.so.15()(64bit) for package: psa-backup-manager
--> Processing Dependency: libmysqlclient.so.15()(64bit) for package: psa-drweb-configurator
--> Processing Dependency: libmysqlclient.so.15()(64bit) for package: perl-DBD-MySQL
--> Processing Dependency: libmysqlclient.so.15()(64bit) for package: psa-mail-qc-driver
--> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15)(64bit) for package: psa-drweb-configurator
--> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15)(64bit) for package: perl-DBD-MySQL
---> Package mysql.x86_64 0:5.1.57-1.el5.art set to be updated
--> Processing Dependency: mysql-libs = 5.1.57-1.el5.art for package: mysql
--> Processing Dependency: libmysqlclient_r.so.16(libmysqlclient_16)(64bit) for package: mysql
--> Processing Dependency: libmysqlclient.so.16(libmysqlclient_16)(64bit) for package: mysql
--> Processing Dependency: libmysqlclient.so.16()(64bit) for package: mysql
--> Processing Dependency: libmysqlclient_r.so.16()(64bit) for package: mysql
---> Package mysql-server.x86_64 0:5.1.57-1.el5.art set to be updated
---> Package nmap.x86_64 2:5.51-1.el5.art set to be updated
---> Package perl-Archive-Tar.noarch 1:1.39.1-2.el5.art set to be updated
---> Package php.x86_64 0:5.3.6-3.el5.art set to be updated
---> Package php-cli.x86_64 0:5.3.6-3.el5.art set to be updated
--> Processing Dependency: libedit.so.0()(64bit) for package: php-cli
---> Package php-common.x86_64 0:5.3.6-3.el5.art set to be updated
---> Package php-gd.x86_64 0:5.3.6-3.el5.art set to be updated
--> Processing Dependency: libt1.so.5()(64bit) for package: php-gd
---> Package php-imap.x86_64 0:5.3.6-3.el5.art set to be updated
---> Package php-ioncube-loader.x86_64 1:4.0.5-1.el5.art set to be updated
--> Processing Dependency: php-devel for package: php-ioncube-loader
---> Package php-mbstring.x86_64 0:5.3.6-3.el5.art set to be updated
---> Package php-mysql.x86_64 0:5.3.6-3.el5.art set to be updated
---> Package php-pdo.x86_64 0:5.3.6-3.el5.art set to be updated
---> Package php-sqlite.x86_64 0:5.3.6-3.el5.art set to be updated
--> Processing Dependency: libsqlite.so.0()(64bit) for package: php-sqlite
--> Processing Dependency: any-php-sqlite2 for package: sb-publish
---> Package php-xml.x86_64 0:5.3.6-3.el5.art set to be updated
---> Package psa-atmail.noarch 1:1.04-3.el5.art set to be updated
---> Package psa-proftpd.x86_64 0:1.3.3d-1.el5.art set to be updated
---> Package psa-proftpd-xinetd.x86_64 0:1.3.3d-1.el5.art set to be updated
---> Package spamassassin.x86_64 1:3.2.5-1.el5.art set to be updated
---> Package sqlite.i386 0:3.7.0.1-1.el5.art set to be updated
---> Package sqlite.x86_64 0:3.7.0.1-1.el5.art set to be updated
--> Running transaction check
---> Package libedit.x86_64 0:3.0-2.20090923cvs.el5.art set to be updated
---> Package mysql-libs.x86_64 0:5.1.57-1.el5.art set to be updated
---> Package mysqlclient15.x86_64 0:5.0.90-1.el5.art set to be updated
---> Package php-devel.x86_64 0:5.3.6-3.el5.art set to be updated
--> Processing Dependency: autoconf for package: php-devel
--> Processing Dependency: automake for package: php-devel
--> Processing Dependency: any-php-sqlite2 for package: sb-publish
---> Package sqlite2.x86_64 0:2.8.17-1.el5.art set to be updated
---> Package t1lib.x86_64 0:5.1.2-2.el5.art set to be updated
--> Processing Dependency: libXaw.so.7()(64bit) for package: t1lib
--> Processing Dependency: libXt.so.6()(64bit) for package: t1lib
--> Running transaction check
---> Package autoconf.noarch 0:2.59-12 set to be updated
--> Processing Dependency: imake for package: autoconf
---> Package automake.noarch 0:1.9.6-2.3.el5 set to be updated
---> Package libXaw.x86_64 0:1.0.2-8.1 set to be updated
--> Processing Dependency: libXext.so.6()(64bit) for package: libXaw
--> Processing Dependency: libXmu.so.6()(64bit) for package: libXaw
---> Package libXt.x86_64 0:1.0.2-3.2.el5 set to be updated
--> Processing Dependency: libSM.so.6()(64bit) for package: libXt
--> Processing Dependency: any-php-sqlite2 for package: sb-publish
--> Running transaction check
---> Package imake.x86_64 0:1.0.2-3 set to be updated
---> Package libSM.x86_64 0:1.0.1-3.1 set to be updated
---> Package libXext.x86_64 0:1.0.1-2.1 set to be updated
---> Package libXmu.x86_64 0:1.0.2-5 set to be updated
--> Processing Dependency: any-php-sqlite2 for package: sb-publish
--> Finished Dependency Resolution
sb-publish-3.0.1-200705230938.noarch from installed has depsolving problems
  --> Missing Dependency: any-php-sqlite2 is needed by package sb-publish-3.0.1-200705230938.noarch (installed)
Error: Missing Dependency: any-php-sqlite2 is needed by package sb-publish-3.0.1-200705230938.noarch (installed)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.

How can I fix this?
 
Add in /etc/yum.conf :

exclude=php*5.3*

You should now be able to install php 5.2.17, latest version available for php 5.2.
 
I would advise you to use 5.3 instead - its newer, safer and more efficient. The only reason to stay on 5.2 is support for zend optimizer.
 
Back
Top