PHP on RHEL 6.9
Hello everyone,
I was just asking this to the community to see if anyone has tried an upgrade of PHP5.3 to PHP 7.1.
I was able to upgrade using the REMI Repository by going from 5.3 to 5.6 and then to 7.1 successfully on a development server.
However, I am wondering if anyone has done this by using Red Hat Repository and if so how did they do it.
I have enabled the rhel-server-rhscl-6-rpms repository.
I am running on RHEL 6.9 Server.
When I do a yum update is doesn't find anything even though PHP 5.3 is installed. php -v shows PHP 5.3.3 is installed.
It shows no packages marked for update.
It seems to be allowing me to run yum install php-70 but not php-71.
Although I am thinking this is not the correct way to do this. Surely I have to update 5.3 to 7.1 to hold all the configurations.
Also where is PHP 7.1 repo - is it not available with RHEL 6.9?
Thank you for any help.
Patrick Broderick
Responses
PHP 7.0 is available for the both RHEL versions, but PHP 7.1 is RHEL 7 only.
The new rh-php71 Software Collection includes PHP 7.1.8, PEAR 1.10.4, and the APCu extension version 5.1.8. The rh-php71 Software Collection is available only for Red Hat Enterprise Linux 7. https://access.redhat.com/documentation/en-us/red_hat_software_collections/3/html-single/3.0_release_notes/#sect-RHSCL-Changes-php
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
