Installation PHP7 sur apache24 en mod_php et php_fpm
Bonjour,
Je viens d'installer PHP7 sur la base de la dernière version 2.3 des Software Collections :
yum install rh-php70
Mon serveur : Red Hat Enterprise Linux Server release 7.1 (Maipo)
Je dois faire tourner PHP7 sur apache24 en mod_php, puis ensuite tester en php_fpm.
Je ne trouve pas le module php70-php suite à l'installation de PHP7.
Avez-vous une procédure d'installation qui pourrait m'éclairer ?
Cordialement,
P.Faureau
Responses
Bonjour,
My apologies - my French is not good enough to use here.
With software collections, you have to "enable" them first.
See here for some abbreviated instructions: http://developers.redhat.com/products/softwarecollections/get-started-rhel7-php/
but update with the PHP 7 version - "rh-php70"
More on the latest PHP 7 version is here: https://access.redhat.com/documentation/en-US/Red_Hat_Software_Collections/2/html-single/2.3_Release_Notes/index.html#sect-RHSCL-Changes-php
This was supplied by one of our Documentation experts, Robert Kratky:
There's [1] (How to configure Apache httpd to use PHP from RHSCL (rh-php56)). It says 'php56', but it actually mentions php70, and the instructions should be the same.
It also discusses mod_php vs php-fpm.
There's a separate solution about installing php70 [2].
The solution linked by Mike above (https://access.redhat.com/solutions/2662201) has now been updated to include specific instructions for rh-php70.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
