CentOS – 降级到稳定的PHP版本

我正在运行CentOS并使用PHP的remi存储库。

我刚刚发现我正在使用PHP的开发版本,即使我需要稳定版本:

PHP 5.3.4-dev (cli) (built: Oct 3 2010 10:57:19) 

我认为这是因为我的/etc/yum.repos.d/remi.repo的内容是:

 [remi] name=Les RPM de remi pour Enterprise Linux 5 - $basearch baseurl=http://rpms.famillecollet.com/el5.$basearch/ http://iut-info.univ-reims.fr/remirpms/el5.$basearch/ enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi failovermethod=priority [remi-test] name=Les RPM de remi en test pour Enterprise Linux $releasever - $basearch baseurl=http://rpms.famillecollet.com/test-el5.$basearch/ enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi 

我的意思是,我离开了[remi-test]部分。

我怎样才能降级到PHP(5.3.3)的最新稳定版本?

我试图评论[remitesting]部分和运行yum update php但这是消息:

 No Packages marked for Update 

有谁知道怎么做?

谢谢,

你只需要通过YUM删除php包

 yum erase php-etc.etc.etc 

所以你的系统没有PHP …然后只需安装标准的..

你可以看到他们

 yum search php 

禁用[remi-test],然后安装yum-allowdowngrade并使用它的function来降级你的php和相关的软件包。