在Centos Kloxo安装中可以将PHP升级到5.3吗?

我有一个运行与Kloxo Centos的VPS,我想知道如何将PHP升级到5.3 – 目前运行5.2.6

当我尝试做yum更新时,出现以下错误:

  Resolving Dependencies --> Running transaction check --> Processing Dependency: libpq.so.4 for package: lxphp ---> Package postgresql-libs.i386 0:8.3.7-umask.7 set to be updated --> Finished Dependency Resolution lxphp-5.2.1-400.i386 from installed has depsolving problems --> Missing Dependency: libpq.so.4 is needed by package lxphp-5.2.1-400.i386 (installed) Error: Missing Dependency: libpq.so.4 is needed by package lxphp-5.2.1-400.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 The program package-cleanup is found in the yum-utils package. 

任何帮助将不胜感激。

你可以使用yum回购的php53

Centos5有PHP 5.3.3可用,

删除你当前的PHP

如果你通过yum安装,你也可以这样删除它

yum删除php

yum删除php-common

然后做“yum安装php53”

希望那么这些关系将被正确地解决。 你可能需要删除更多,但百胜应该告诉你。