WordPress Problems upgrading PHP version

Status
Not open for further replies.

Depaq

Active Member
231
2012
21
0
Hi guys. I'm trying to instal the newer wordpress version on a VPS but I need to upgrade my PHP for it to work. So here I am trying to do this but all I get in response is an error about conflicting with php-common. I've tried removing the old php but it still gives same error.

> yum install php53
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.loosefoot.com
* extras: mirrors.tummy.com
* rpmforge: mirror.team-cymru.org
* updates: mirror.wiredtree.com
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php53.x86_64 0:5.3.3-21.el5 set to be updated
--> Processing Dependency: php53-cli = 5.3.3-21.el5 for package: php53
--> Processing Dependency: php53-common = 5.3.3-21.el5 for package: php53
--> Running transaction check
---> Package php53-cli.x86_64 0:5.3.3-21.el5 set to be updated
---> Package php53-common.x86_64 0:5.3.3-21.el5 set to be updated
--> Processing Conflict: php53-common conflicts php-common
--> Finished Dependency Resolution
php53-common-5.3.3-21.el5.x86_64 from base has depsolving problems
--> php53-common conflicts with php-common


I'm by no means an expert on this stuff so does anyone have any idea as to what I'm doing wrong?
 
3 comments
Why not uninstall php with all it's modules,

and install the version you want using rpm or compiling it from source ?
 
I have tried uninstalling it, but I must not have the correct command. These are the results of the command when used. Even after the remove command, it is still showed as being installed by the list command. I have also tried groupremove and erase commands with no result.

> yum remove php
Loaded plugins: fastestmirror
Setting up Remove Process
Resolving Dependencies
--> Running transaction check
---> Package php.x86_64 0:5.1.6-40.el5_9 set to be erased
--> Processing Dependency: php = 5.1.6-40.el5_9 for package: php-devel
--> Running transaction check
---> Package php-devel.x86_64 0:5.1.6-40.el5_9 set to be erased
--> Processing Dependency: php-devel for package: php-pear
--> Running transaction check
---> Package php-pear.noarch 1:1.4.9-8.el5 set to be erased
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version Repository Size
================================================================================
Removing:
php x86_64 5.1.6-40.el5_9 installed 6.3 M
Removing for dependencies:
php-devel x86_64 5.1.6-40.el5_9 installed 2.5 M
php-pear noarch 1:1.4.9-8.el5 installed 1.8 M

Transaction Summary
================================================================================
Remove 3 Package(s)
Reinstall 0 Package(s)
Downgrade 0 Package(s)

Is this ok [y/N]: Exiting on user Command
Complete!
> yum list php
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.loosefoot.com
* extras: ftpmirror.your.org
* rpmforge: mirror.team-cymru.org
* updates: mirror.team-cymru.org
Installed Packages
php.x86_64 5.1.6-40.el5_9 installed
 
Ok scratch that. I got it to install php53 this time. Now I need to find out why wordpress is still telling me 5.1 is installed...
 
Status
Not open for further replies.
Back
Top