Redhat – How to enable updated PHP 5.5 versions in RHEL 7

php5redhat

As our development projects expand we're finding we often need newer versions of PHP, Python, Ruby, etc than are provided by Red Hat. What are others at NU doing to solve this problem? There doesn't appear to be a great universal solution. We've started looking at Red Hat Software Collections, which has a slightly awkward implementation but seems to be workable. I've heard of other cases where people have given up on on RHEL and use new versions of Ubuntu. We have to balance providing access to modern libraries but using a stable OS in a production environment.

From our understanding this adds "newer" packages in /opt. How does one balance stability with the need to use newer features found in PHP 5.5?

Best Answer

You can use the Remi repository (http://rpms.famillecollet.com/enterprise/7/) or the Red Hat Software Collections (somewhat harder to configure/enable, but more "trusty" as they directly come from Red Hat).