Upgrading PHP Version

Here are the instructions on upgrading your PHP to the latest version

NOTE: Not all modules are compatible with the latest version of PHP. All upgrades installed are done at your own risk. If is suggested that you do a full container backup before installing any updates..


1. Ensure you have yum installed. To check if you have yum installed, just type "yum" into your SSH session. If you do not have yum installed, please refer to this Installing Yum entry.
 
2. Add test repsitory update

cd /etc/yum.repos.d
touch CentOS-Test.repo

*****Append following lines to CentOS-Test.repo*****
[c5-testing]
name=CentOS-5 Testing
baseurl=http://dev.centos.org/centos/5/testing/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing
*****End of CentOS-Test.repo*****

3. Run yum update

yum update


Related Articles

No related articles were found.

Attachments

No attachments were found.

Article Details

Last Updated
7th of July, 2009

Would you like to...

Print this page  Print this page

 Subscribe me

Subscribe me  Bookmark Article

Remove Highlighting Remove Highlighting

Edit this Article

Quick Edit

Export to PDF


User Opinions

No users have voted.

How would you rate this answer?




Thank you for rating this answer.

Continue