Click to See Complete Forum and Search --> : Plz help me..PHP is not getting installed proarly..


vinojvs
05-07-2008, 10:16 AM
Hi,
I was trying to install php-5.2.6 in RedHat EL-WS4.
I used the following commands

tar -xjvf php-5.2.6.tar.bz2


./configure --with-config-file-path=/etc --with-mysql=/usr/include/mysql
--with-apxs2=usr/local/apache2/bin/apxs --with-zlib --with-gd --with-xsl

make

make install

cp php.ini-recommended /etc/php.ini

cd /usr/local/apache2/bin/apache1 restart




Then I checked the version using the command
rpm -qa |grep php
But what I got is the old version number that is

php-4.3.9-3.1

Could anybody help me out????????

bpat1434
05-16-2008, 06:34 PM
yum update php

Does that update php for you? Or perhaps do:

yum remove php
yum install php5

That should get the basics of php5 installed. From there you should be able to add packages like:

yum install php5-mcrypt php5-mhash php5-xslt

Or to see all available packages, use:
yum search php5 (or yum search php)