up2date PHP yum php , Source Install tips
April 26, 2008 | In: PHP
In RHEL 4
You can update PHP using
———————————————-
up2date @php
———————————————-
In RHEL 5 and CentOs
———————————————-
yum groupinstall php
———————————————-
Only if you are unable to proceed with the above installation or if you need a specific version of PHP you should go for source compilation.
Note: you can upgrade PHP with the help of /scripts/easyapache in Cpanel server.
In Plesk server, you should not recompile PHP with source. Only rpm should be used for installation.
Before trying the source installation, please note this is for advanced users and those who have good knowledge in installation.
Source Installation
cd /usr/local/src/
Download the Complete source from the link http://www.php.net/downloads.php
Get the tar.gz format .
wget http://us.php.net/get/php-5.2.5.tar.gz/from/this/mirror
tar -zxf php-5.2.5.tar.gz
cd php-5.2.5
./configure (options) —————-> options are given like eg: –with-mysql=/usr/
you need to add the corresponding options to integrate the module with php
make
make install
However, this is just for your knowledge . You will not be able to install it you are a newbee….




