I am currently running centOS 7 with an apache based webserver with php 5.5.38 and I was recommend to upgrade to PHP 5.6.XX for best stability on behalf of my custom made web-app.

Is there a way to upgrade to this specific PHP version without getting the latest built? Please do not answer with advice on how the latest built is the best and most recommended, I am looking for a solution to upgrade to an exact version.

Some expert help would be greatly appreciated, thank you


Multiple versions of PHP are available in the SCL Repos but if you're looking for a very specific version of PHP, you might want to check the repos here to see if your build is available.

If it's not, you may have to package up the version of PHP you want into an RPM, or install it manually. There's an example spec file in the PHP github repo

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.