Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am running CentOS and using the remi repository for PHP.

I have just found out I am using the development version of PHP, even if I need the stable version:

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

I think that is because the content of my /etc/yum.repos.d/remi.repo is:

name=Les RPM de remi pour Enterprise Linux 5 - $basearch

name=Les RPM de remi en test pour Enterprise Linux $releasever - $basearch

I mean, I left the [remi-test] section.

How can I downgrade to the latest stable version of PHP (5.3.3)?

I have tried to comment the [remi-test] section and run yum update php but this is the message:

No Packages marked for Update

Has anybody know how to do it, please?


share|improve this question
up vote 0 down vote accepted

You just need to remove the php packages through YUM

yum erase php-etc.etc.etc

So your system has no php... Then just install the standard ones..

you can see them by

yum search php
share|improve this answer
Thanks. I still want to install the Remi one because it should be more updated, but not the development ones. – dan Nov 10 '10 at 22:27

Disable [remi-test], then install yum-allowdowngrade and use its features to downgrade your php and associated packages.

share|improve this answer
Really that works? cool.. ill try that out :D +1 – Arenstar Nov 10 '10 at 22:30

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.