I tried compiling PHP 5.2 on CentOS but after so many tries I gave up. I was getting struck at compiling PHP with gd. And without gd it was useless. So I decided to yum and install the same.
By default if you use yum install php it will be install only php 4 series and not 5. In order to install version 5 I had to enable repo centosplus.
yum install php –enablerepo=centosplus
or
yum update php –enablerepo=centosplus
I came across another interesting repo for yum by kbsingh and after installing I was install a lot more. If you are interested please check out this website
Have fun !! ![]()
February 9th, 2007 at 4:15 pm
thanks. that really worked!
June 19th, 2007 at 12:14 am
i keep getting this error: Excluding packages in global exclude list
any one know why that is?
November 22nd, 2007 at 6:08 am
BTW this as of November 2007 only PHP 5.1.6 is included in the centosplus repository, not PHP 5.2
January 22nd, 2008 at 7:27 pm
i am working with centos5. And I did not get any errors
this are the steps I used
# wget ftp://xmlsoft.org/libxml2/libxml2-2.6.11.tar.gz
# tar xzvf libxml2-2.6.11.tar.gz
# cd libxml2-2.6.11
# ./configure
# make
# su -c “make install”
# wget http://uk2.php.net/get/php-5.2.5.tar.gz/from/uk.php.net/mirror
# tar zxvf php-5.2.5.tar.gz
# cd php-5.2.5
# ./configure –enable-soap
# make
# su -c “make install”
I hope it helps u
April 23rd, 2008 at 1:16 am
it solved my problem.
i was configuring php before xml installing and the word enable-soap solved it.
August 21st, 2008 at 11:17 am
Thanks for your guide.