We activate the RHSCL repositories
text
yum-config-manager –enable rhel-server-rhscl-7-rpmsWhat is RHSCL?
The goal of Red Hat Software Collections (RHSCL) is to provide Red Hat Enterprise Linux customers with the latest and most stable versions of open source database and dynamic languages so that users can create modern applications that can be confidentially deployed in production. These fast-moving collections are expected to be updated frequently and have a shorter lifecycle and support terms than Red Hat Enterprise Linux.
We install the SCL tools
Bash
yum install scl-utilsWe install PHP 5.6
Bash
yum install rh-php56 rh-php56-phpWe make the following symbolic links:
text
ln -s /opt/rh/rh-php56/enable /etc/profile.d/rh-php56.sh
ln -s /opt/rh/httpd24/root/etc/httpd/conf.d/rh-php56-php.conf /etc/httpd/conf.d/
ln -s /opt/rh/httpd24/root/etc/httpd/conf.modules.d/10-rh-php56-php.conf /etc/httpd/conf.modules.d/
ln -s /opt/rh/httpd24/root/etc/httpd/modules/librh-php56-php5.so /etc/httpd/modules/We activate PHP 5.6
Bash
source /etc/profile.d/rh-php56.shAll the best
:wq!
Comments