[CentOS] Switching to php53
Jussi Hirvi
listmember at greenspot.fi
Sat Apr 30 08:25:09 UTC 2011
I would try to first "yum erase php", and then install the php53 version.
- Jussi
On 30.4.2011 9.29, Dave Cross wrote:
> I have a Centos 5.6 server which is using the default php packages.
> These currently contain PHP 5.1.6.
>
> My main use of PHP on the server is to support an installation of
> WordPress. I currently had WP 3.1.2 installed, but the WP developers
> have announced that from WP 3.2 they will only support PHP 5. and
> greater.
>
> So I investigated and found that the Centos repo contains a series of
> php53 packages. I tried to install php53 using yum but got the
> following error:
>
> Resolving Dependencies
> --> Running transaction check
> ---> Package php53.x86_64 0:5.3.3-1.el5_6.1 set to be updated
> --> Processing Dependency: php53-cli = 5.3.3-1.el5_6.1 for package: php53
> --> Processing Dependency: php53-common = 5.3.3-1.el5_6.1 for package: php53
> --> Running transaction check
> ---> Package php53-cli.x86_64 0:5.3.3-1.el5_6.1 set to be updated
> ---> Package php53-common.x86_64 0:5.3.3-1.el5_6.1 set to be updated
> --> Processing Conflict: php53-common conflicts php-common
> --> Finished Dependency Resolution
> php53-common-5.3.3-1.el5_6.1.x86_64 from updates 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
>
> I would have thought that the new php53-common package would have
> obsoleted php-common rather than conflicting with it.
>
> Is there a clean way to replace php with php53? Or should I just wait
> and hope that Centos 6 is released before WP 3.2 :)
>
> Thanks,
>
> Dave...
>
--
Jussi Hirvi * Green Spot
Suvilahdenkatu 1 B 78 * 00500 Helsinki * Finland
Tel. +358 9 493 981 * Mobile +358 40 771 2098 (only sms)
jussi.hirvi at greenspot.fi * http://www.greenspot.fi
More information about the CentOS
mailing list