Page 1 of 1

how to downgrade php in CentOS?

Posted: Wed Nov 26, 2008 3:55 pm
by WilliamLou
Hi there:
I'm in CentOS 5 with its default PHP 5.1.6 originally installed from "yum install php ". Yesterday, I would like to upgrade the php to 5.2 so that I could use its JSON extension. With google, I followed the instruction in this post (Joe's method): http://imthi.com/blog/linux/install-or- ... centos.php

And then, it seems working fine at first. And then, I found that lots of my code doesn't work due to the missing of several extensions. I think I didn't use the same configuration as CentOS used for php5.1.6. Anyway, now I prefer to remove the php5.2.6 I installed and downgrade it to php5.1. Because I complied the source code myself and install it by "make install", I just can't remove it by "yum remove ". Anyone knows how to remove this? Thanks a lot !!!!