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….

mm
Hi All… I have been working the IT Industry since last ten years… Specialized in Linux, Cloud Infrastructure and Solution Design.
On the hobby friend, I do research on IOT, Micro-controllers, Electronics etc.
Music is my passion..Connect me on..

Comment Form

*

Authors

mm
Presoon John

Hi All... I have been working the IT Industry since last ten years... Specialized in Linux, Cloud Infrastructure and Solution Design.
On the hobby friend, I do research on IOT, Micro-controllers, Electronics etc.
Music is my passion..Connect me on..

Access this post via Mobile

Scan the QR Code
QR Code Generator

Categories