≡ Menu

How to upgrade PHP 5.3 on Centos

php logoTo upgrade to PHP 5.3.x on CentOS/RHEL/Fedora:

Step 1) Set up the atomic channel:

Step 2) Upgrade to PHP 5.3.x:

Step 3) Update libxml2:

Step 4) Replace the PHP 4 php.ini with PHP 5.3.x’s (if applicable):

Step 5) Replace the php.conf with the PHP 5.3.x php.conf (if applicable):

Step 6) Restart the webserver

Step 7) Update crontab
Maybe would it be a good idea to update your packages automatic by installing a crontab:

Insert:

Reference: http://www.atomicorp.com/wiki/index.php/PHP

{ 0 comments… add one }

Leave a Comment