How to upgrade from PHP 3.x to PHP 5.4.x on CentOS 6

1. Install epel and remi repositories:

2. Enable remi repository:

3. In the [remi] section of the file “/etc/yum.repos.d/remi.repo”, set the “enabled” option to 1.
4. Upgrade PHP with this command:

That’s all! 🙂

Share if you like...Share on FacebookTweet about this on TwitterShare on Google+Pin on PinterestShare on TumblrEmail this to someone

Leave a Reply