• 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

PHP 5.3

John_Wilkins

New Pleskian
I'm running php 5.3.3-26.el5_11

I have almost 100 Joomla sites running on the server that require 5.3.10 or higher to upgrade.

Through plesk update, the internal plesk php updated, but I can't upgrade the php on the system.

When I type YUM php install, I get this:

[root@ip-97-74-112-155 yum.repos.d]# yum install php
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* atomic: www6.atomicorp.com
* base: mirrors.usc.edu
* epel: mirror.prgmr.com
* extras: mirror.pac-12.org
* updates: mirrors.usc.edu
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php.i386 0:5.4.38-44.el5.art set to be updated
--> Processing Dependency: php-common = 5.4.38-44.el5.art for package: php
--> Processing Dependency: php-cli = 5.4.38-44.el5.art for package: php
--> Processing Dependency: php53 for package: psa-php53-configurator
--> Processing Dependency: php53 >= 5.3.0 for package: php53-sqlite2
--> Running transaction check
---> Package php-cli.i386 0:5.4.38-44.el5.art set to be updated
--> Processing Dependency: libedit.so.0 for package: php-cli
---> Package php-common.i386 0:5.4.38-44.el5.art set to be updated
--> Processing Dependency: php53 for package: psa-php53-configurator
--> Processing Dependency: php53 >= 5.3.0 for package: php53-sqlite2
--> Processing Dependency: php53-common = 5.3.3-26.el5_11 for package: php53-mbstring
--> Processing Dependency: php53-common = 5.3.3-26.el5_11 for package: php53-xml
--> Processing Dependency: php53-common = 5.3.3-26.el5_11 for package: php53-pdo
--> Processing Dependency: php53-common = 5.3.3-26.el5_11 for package: php53-mysql
--> Processing Dependency: php53-common = 5.3.3-26.el5_11 for package: php53-gd
--> Processing Dependency: php53-common = 5.3.3-26.el5_11 for package: php53-imap
--> Running transaction check
---> Package libedit.i386 0:3.0-2.20090923cvs.el5.art set to be updated
---> Package php-gd.i386 0:5.4.38-44.el5.art set to be updated
---> Package php-imap.i386 0:5.4.38-44.el5.art set to be updated
---> Package php-mbstring.i386 0:5.4.38-44.el5.art set to be updated
---> Package php-mysql.i386 0:5.4.38-44.el5.art set to be updated
---> Package php-pdo.i386 0:5.4.38-44.el5.art set to be updated
---> Package php-xml.i386 0:5.4.38-44.el5.art set to be updated
--> Processing Dependency: php53 for package: psa-php53-configurator
--> Processing Dependency: php53 >= 5.3.0 for package: php53-sqlite2
--> Processing Dependency: php53-gd for package: psa-php53-configurator
--> Processing Dependency: php53-imap for package: psa-php53-configurator
--> Processing Dependency: php53-mbstring for package: psa-php53-configurator
--> Processing Dependency: php53-mysql for package: psa-php53-configurator
--> Processing Dependency: php53-pdo for package: psa-php53-configurator
--> Processing Dependency: php53-xml for package: psa-php53-configurator
--> Finished Dependency Resolution
psa-php53-configurator-1.6.3-cos5.build1200140606.15.i386 from installed has depsolving problems
--> Missing Dependency: php53-mysql is needed by package psa-php53-configurator-1.6.3-cos5.build1200140606.15.i386 (installed)
psa-php53-configurator-1.6.3-cos5.build1200140606.15.i386 from installed has depsolving problems
--> Missing Dependency: php53-xml is needed by package psa-php53-configurator-1.6.3-cos5.build1200140606.15.i386 (installed)
psa-php53-configurator-1.6.3-cos5.build1200140606.15.i386 from installed has depsolving problems
--> Missing Dependency: php53-mbstring is needed by package psa-php53-configurator-1.6.3-cos5.build1200140606.15.i386 (installed)
psa-php53-configurator-1.6.3-cos5.build1200140606.15.i386 from installed has depsolving problems
--> Missing Dependency: php53-gd is needed by package psa-php53-configurator-1.6.3-cos5.build1200140606.15.i386 (installed)
php53-sqlite2-5.3.2-11070811.i386 from installed has depsolving problems
--> Missing Dependency: php53 >= 5.3.0 is needed by package php53-sqlite2-5.3.2-11070811.i386 (installed)
psa-php53-configurator-1.6.3-cos5.build1200140606.15.i386 from installed has depsolving problems
--> Missing Dependency: php53-imap is needed by package psa-php53-configurator-1.6.3-cos5.build1200140606.15.i386 (installed)
psa-php53-configurator-1.6.3-cos5.build1200140606.15.i386 from installed has depsolving problems
--> Missing Dependency: php53 is needed by package psa-php53-configurator-1.6.3-cos5.build1200140606.15.i386 (installed)
psa-php53-configurator-1.6.3-cos5.build1200140606.15.i386 from installed has depsolving problems
--> Missing Dependency: php53-pdo is needed by package psa-php53-configurator-1.6.3-cos5.build1200140606.15.i386 (installed)
Error: Missing Dependency: php53 >= 5.3.0 is needed by package php53-sqlite2-5.3.2-11070811.i386 (installed)
Error: Missing Dependency: php53-pdo is needed by package psa-php53-configurator-1.6.3-cos5.build1200140606.15.i386 (installed)
Error: Missing Dependency: php53-imap is needed by package psa-php53-configurator-1.6.3-cos5.build1200140606.15.i386 (installed)
Error: Missing Dependency: php53-mysql is needed by package psa-php53-configurator-1.6.3-cos5.build1200140606.15.i386 (installed)
Error: Missing Dependency: php53 is needed by package psa-php53-configurator-1.6.3-cos5.build1200140606.15.i386 (installed)
Error: Missing Dependency: php53-mbstring is needed by package psa-php53-configurator-1.6.3-cos5.build1200140606.15.i386 (installed)
Error: Missing Dependency: php53-gd is needed by package psa-php53-configurator-1.6.3-cos5.build1200140606.15.i386 (installed)
Error: Missing Dependency: php53-xml is needed by package psa-php53-configurator-1.6.3-cos5.build1200140606.15.i386 (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



I don't want to mess up plesk or current sites.
 
Try to disable third-party repos like atomic and epel. Looks like conflicts in dependences related to these repos. Or just use "Multiple PHP" feature and setup second modern PHP version.
 
I will try the multiple php option. I disabled the third party repos, still get this:

[root@ip-97-74-112-155 yum.repos.d]# yum update php
Loaded plugins: fastestmirror
Determining fastest mirrors
* base: mirrors.easynews.com
* extras: mirror.1stclasshosting.com
* updates: mirror.hostduplex.com
base | 1.1 kB 00:00
base/primary | 996 kB 00:00
base 2791/2791
extras | 2.1 kB 00:00
extras/primary_db | 164 kB 00:00
updates | 1.9 kB 00:00
updates/primary_db | 280 kB 00:00
Setting up Update Process
Package(s) php available, but not installed.
No Packages marked for Update
[root@ip-97-74-112-155 yum.repos.d]# yum install php
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.easynews.com
* extras: mirror.1stclasshosting.com
* updates: mirror.hostduplex.com
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php.i386 0:5.1.6-45.el5_11 set to be updated
--> Processing Dependency: php-cli = 5.1.6-45.el5_11 for package: php
--> Processing Dependency: php-common = 5.1.6-45.el5_11 for package: php
--> Running transaction check
---> Package php-cli.i386 0:5.1.6-45.el5_11 set to be updated
---> Package php-common.i386 0:5.1.6-45.el5_11 set to be updated
--> Processing Conflict: php53-common conflicts php-common
--> Finished Dependency Resolution
php53-common-5.3.3-26.el5_11.i386 from installed has depsolving problems
--> php53-common conflicts with php-common
Error: php53-common conflicts with php-common
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
 
http://kb.odin.com/en/118306

I disabled atomic repo and get this



yum install php
Loaded plugins: fastestmirror
Determining fastest mirrors
* base: centos.mirror.ndchost.com
* extras: mirror.hmc.edu
* updates: mirrors.syringanetworks.net
base | 1.1 kB 00:00
base/primary | 996 kB 00:00
base 2791/2791
extras | 2.1 kB 00:00
extras/primary_db | 164 kB 00:00
updates | 1.9 kB 00:00
updates/primary_db | 284 kB 00:00
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php.i386 0:5.1.6-45.el5_11 set to be updated
--> Processing Dependency: php-cli = 5.1.6-45.el5_11 for package: php
--> Processing Dependency: php-common = 5.1.6-45.el5_11 for package: php
--> Running transaction check
---> Package php-cli.i386 0:5.1.6-45.el5_11 set to be updated
---> Package php-common.i386 0:5.1.6-45.el5_11 set to be updated
--> Processing Conflict: php53-common conflicts php-common
--> Finished Dependency Resolution
php53-common-5.3.3-26.el5_11.i386 from installed has depsolving problems
--> php53-common conflicts with php-common
Error: php53-common conflicts with php-common
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


Trying this article:
http://kb.odin.com/en/121779

If I remove the psa-php53-configurator-1.6.3-cos5.build1200140606.15




rpm -qa | grep psa-php
psa-phpmyadmin-4.2.5-cos5.build1200140702.16
psa-phppgadmin-5.1-cos5.build1200140423.18
psa-php53-configurator-1.6.3-cos5.build1200140606.15

# yum remove psa-php53-configurator-1.6.3-cos5.build1200140606.15

Then it wants to remove plesk. (See below). I can't break plesk.

Loaded plugins: fastestmirror
Setting up Remove Process
Resolving Dependencies
--> Running transaction check
---> Package psa-php53-configurator.i386 0:1.6.3-cos5.build1200140606.15 set to be erased
--> Processing Dependency: psa-php-configurator for package: psa-phppgadmin
--> Processing Dependency: psa-php-configurator for package: psa-horde
--> Processing Dependency: psa-php-configurator for package: psa-phpmyadmin
--> Processing Dependency: psa-php-configurator for package: psa-atmail
--> Running transaction check
---> Package psa-atmail.noarch 1:1.05-cos5.build110121114.13 set to be erased
---> Package psa-horde.noarch 0:5.2.1-cos5.build1200140821.14 set to be erased
--> Processing Dependency: psa-horde >= 5.1.6 for package: psa-turba
--> Processing Dependency: psa-horde >= 5.1.6 for package: psa-ingo
--> Processing Dependency: psa-horde >= 5.1.6 for package: psa-kronolith
--> Processing Dependency: psa-horde >= 5.1.6 for package: psa-imp
--> Processing Dependency: psa-horde >= 5.1.6 for package: psa-mnemo
--> Processing Dependency: psa-horde >= 5.1.4 for package: psa-passwd
---> Package psa-phpmyadmin.noarch 0:4.2.5-cos5.build1200140702.16 set to be erased
--> Processing Dependency: psa-phpmyadmin >= 3.5.2.2 for package: plesk-core
---> Package psa-phppgadmin.noarch 0:5.1-cos5.build1200140423.18 set to be erased
--> Running transaction check
---> Package plesk-core.i386 0:12.0.18-cos5.build1200140606.15 set to be erased
--> Processing Dependency: plesk-core >= 10.3.0 for package: pp-sitebuilder
--> Processing Dependency: plesk-core >= 12.0.18 for package: psa-migration-manager
--> Processing Dependency: plesk-core >= 12.0.18 for package: psa-watchdog
--> Processing Dependency: plesk-core >= 10.3.0 for package: wpb-core
--> Processing Dependency: plesk-core >= 12.0.18 for package: psa-firewall
--> Processing Dependency: plesk-core >= 12.0.18 for package: plesk-l10n
--> Processing Dependency: plesk-core >= 12.0.18 for package: plesk-management-node
--> Processing Dependency: plesk-core >= 12.0.18 for package: psa-updates
--> Processing Dependency: plesk-core >= 12.0.18 for package: plesk-config-troubleshooter
---> Package psa-imp.noarch 0:6.2.1-cos5.build1200140818.13 set to be erased
---> Package psa-ingo.noarch 0:3.2.0-cos5.build1200140818.13 set to be erased
---> Package psa-kronolith.noarch 0:4.2.1-cos5.build1200140818.13 set to be erased
---> Package psa-mnemo.noarch 0:4.2.1-cos5.build1200140818.13 set to be erased
---> Package psa-passwd.noarch 0:5.0.1-cos5.build1200140818.13 set to be erased
---> Package psa-turba.noarch 0:4.2.1-cos5.build1200140818.13 set to be erased
--> Running transaction check
---> Package plesk-config-troubleshooter.i386 0:12.0.18-cos5.build1200140623.14 set to be erased
---> Package plesk-l10n.noarch 0:12.0.18-cos5.build1200150225.13 set to be erased
---> Package plesk-management-node.i386 0:12.0.18-cos5.build1200140606.15 set to be erased
---> Package pp-sitebuilder.noarch 0:12.0.5-14043013 set to be erased
---> Package psa-firewall.i386 0:12.0.18-cos5.build1200140623.14 set to be erased
---> Package psa-migration-manager.i386 0:12.0.18-cos5.build1200140606.15 set to be erased
--> Processing Dependency: psa-migration-manager >= 12.0.18 for package: psa-migration-agents
---> Package psa-updates.noarch 0:12.0.18-cos5.build1200150224.17 set to be erased
---> Package psa-watchdog.i386 0:12.0.18-cos5.build1200140707.14 set to be erased
---> Package wpb-core.noarch 0:12.0.5-43480.14051315 set to be erased
--> Processing Dependency: wpb-core >= 12.0.0 for package: wpb-headers
--> Running transaction check
---> Package psa-migration-agents.i386 0:12.0.18-cos5.build1200140606.15 set to be erased
---> Package wpb-headers.noarch 0:12.0.5-43480.14051315 set to be erased
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================================================================================
Package Arch Version Repository Size
=============================================================================================================================================
Removing:
psa-php53-configurator i386 1.6.3-cos5.build1200140606.15 installed 34 k
Removing for dependencies:
plesk-config-troubleshooter i386 12.0.18-cos5.build1200140623.14 installed 388 k
plesk-core i386 12.0.18-cos5.build1200140606.15 installed 45 M
plesk-l10n noarch 12.0.18-cos5.build1200150225.13 installed 46 M
plesk-management-node i386 12.0.18-cos5.build1200140606.15 installed 0.0
pp-sitebuilder noarch 12.0.5-14043013 installed 0.0
psa-atmail noarch 1:1.05-cos5.build110121114.13 installed 13 M
psa-firewall i386 12.0.18-cos5.build1200140623.14 installed 647 k
psa-horde noarch 5.2.1-cos5.build1200140821.14 installed 63 M
psa-imp noarch 6.2.1-cos5.build1200140818.13 installed 18 M
psa-ingo noarch 3.2.0-cos5.build1200140818.13 installed 4.4 M
psa-kronolith noarch 4.2.1-cos5.build1200140818.13 installed 8.6 M
psa-migration-agents i386 12.0.18-cos5.build1200140606.15 installed 173 k
psa-migration-manager i386 12.0.18-cos5.build1200140606.15 installed 1.3 M
psa-mnemo noarch 4.2.1-cos5.build1200140818.13 installed 3.3 M
psa-passwd noarch 5.0.1-cos5.build1200140818.13 installed 3.0 M
psa-phpmyadmin noarch 4.2.5-cos5.build1200140702.16 installed 28 M
psa-phppgadmin noarch 5.1-cos5.build1200140423.18 installed 3.0 M
psa-turba noarch 4.2.1-cos5.build1200140818.13 installed 6.0 M
psa-updates noarch 12.0.18-cos5.build1200150224.17 installed 0.0
psa-watchdog i386 12.0.18-cos5.build1200140707.14 installed 2.8 M
wpb-core noarch 12.0.5-43480.14051315 installed 48 M
wpb-headers noarch 12.0.5-43480.14051315 installed 143 M
Transaction Summary
=============================================================================================================================================
Remove 23 Package(s)
Reinstall 0 Package(s)
Downgrade 0 Package(s)
Is this ok [y/N]:

I choose no. I know plesk has it's own version on PHP it runs.

I'm running Plesk 12.0.18 with updates through #38 installed.
 
Back
Top