Upgrade PHP on Server with IUS Repository

It’s easy to upgrade between PHP version is you’re using the IUS repository:

http://iuscommunity.org

Start by determining which version and modules you have already installed:

So in this case we have the “php52” packages.

Next decide which package set you want to upgrade to. Right no in IUS the choices are:

  1. php52
  2. php53u
  3. php54

IUS provides a great extension for yum which allows for replacing packages:

Now you can replace the PHP version with something like this:

Just change php52 and php53 to the original and new version that you want to replace.

After the install completes run “yum list | grep php | grep installed” again and make sure that you have all the extensions that you need.

Have a project or a problem?

Talk with a senior engineer for practical recommendations—no obligation.

Leave a comment

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Posts

Categories

Get a free consultation from Reliable Penguin

Submit the form—or for immediate service call 866-649-7984.