|
Login as root. Erasing An Older Version All flavor of Linux come bundled with some stable version of PHP. If a full install is the choice when setting up the Linux box, then some version of PHP definitely exists on the Linux flavor in use. Hence prior installing the latest version of PHP, it is prudent to verify the existence of any older version of PHP on the Linux box. This can be done as follows: <System Prompt> rpm -q php Installing PHP From Its Source File It is always advisable to install PHP using its source (tarball). This provides access to quicker releases updates instead of waiting for some entity to release an rpm for a particular flavor of Linux. Make a directory /php. Copy the downloaded file php-5.1.0RC1.tar.gz here. Unzip the file as: <System Prompt> gunzip php-5.1.ORC1.tar.gz This will extract php-5.1.0RC1.tar file from the php-5.1.0RC1.tar.gz file. Click here to download the complete E-Book.
|