The Apache HTTP server and PHP configuration have changed in Fedora 27, here is some explanations.
Mot-clé -
vendredi 17 novembre 2017
Fedora 27: changes in httpd and php
Par Remi le vendredi 17 novembre 2017, 09:42 - General
Fedora 27: changements dans httpd et php
Par Remi le vendredi 17 novembre 2017, 09:01 - General
La configuration du serveur HTTP Apache et de PHP a été modifiée dans Fedora 27, voici quelques explications.
lundi 30 mai 2016
PHP Tour 2016 Clermont-Ferrand
Par Remi le lundi 30 mai 2016, 09:09 - General
I've had the pleasure to participate to PHP Tour 2016 in Clermont-Ferrand (one of the most important PHP event in France).
I gave a talk about "Forget mod_php". It is about this PHP installation method, the most documented, the simplest, but which have given a bad image about Apache HTTPD Server, and encourage user, needing performance, to migrate to nginx and its threaded mode and so with FPM. But, it is also possible to use Apache in thread mode, using the worker or event MPM, also with FPM.
This is the opportunity to show how simple it is to switch to Apache and FPM with some simple or advanced configurations:
- switch from mod_php to php-fpm
- various PHP version
- load balancing
The slides: Clermont2016en.pdf
Joind event: Oublions mod_php
And, as each year, this new PHP Tour allows a lot of rich and valuable meetings with various PHP users and developers.
Media: @sanplomb j.pauli 1, j.pauli 2
Soon, PHPForum 2016 in Paris.
vendredi 27 mai 2016
PHP Tour 2016 Clermont-Ferrand
Par Remi le vendredi 27 mai 2016, 10:27 - General
J'ai eu le plaisir de participer au PHP Tour 2016 à Clermont-Ferrand.
J'y ai donné une conférence "Oublions mod_php". Il s'agit de revenir sur cette méthode d'installation de PHP, la plus documentée et la plus simple, mais qui a souvent nuit à l'image d'Apache HTTPD Server, et entrainé une migration d'utilisateurs en recherche de performances vers nginx avec son modèle threadé. et donc l'utilisation de FPM. Alors qu'il est tout à fait possible d'utiliser apache en mode threadé avec les MPM worker ou event en utilisant FPM.
C'est aussi l'occasion de montrer à quel point il est aisé de passer a une configuration d'apache + FPM, simple ou avancée:
- remplacer mod_php par php-fpm
- plusieurs versions de PHP
- répartition de charge
La présentation : Clermont2016.pdf
Événement sur Joind : Oublions mod_php
Et comme chaque année, ce nouveau PHP Tout a été l'occasion de rencontres particulièrement enrichissantes avec les développeurs et utilisateurs de PHP.
Média : @sanplomb j.pauli 1, j.pauli 2
Bientôt le PHP Forum 2016 à Paris.
jeudi 17 septembre 2015
Apache HTTP Server and load balancing to PHP FPM
Par Remi le jeudi 17 septembre 2015, 14:39 - HowTo
One of the benefits of FPM is a clear separation and isolation of web front-end (httpd) and from the application server (php-fpm).
Here is a simple configuration example using Apache as a load balancer to various FPM instances.
Apache HTTP Server et répartiteur de charge vers PHP FPM
Par Remi le jeudi 17 septembre 2015, 14:29 - HowTo
L'un des avantages de FPM et de séparer et d'isoler proprement le frontal web du serveur d'application.
Voici un exemple de configuration utilisant Apache en répartiteur de charge entre plusieurs instances FPM.
vendredi 1 août 2014
Apache httpd server 2.4.10 and PHP-FPM 5.6 in Fedora 21
Par Remi le vendredi 1 août 2014, 21:31 - HowTo
Since the update in Fedora 21 of httpd version 2.4.10 and php 5.6.0RC3, you can avoid using mod_php. php-fpm works "out of the box", with default provided configuration.
Apache httpd server 2.4.10 et PHP-FPM 5.6 dans Fedora 21
Par Remi le vendredi 1 août 2014, 20:57 - HowTo
Depuis la mise à jour dans Fedora 21 d'httpd version 2.4.10 et de php 5.6.0RC3, il est désormais possible de se passer de mod_php. php-fpm fonctionne désormais avec la configuration par défaut fournie.
vendredi 28 mars 2014
PHP-FPM and HTTPD 2.4 improvement
Par Remi le vendredi 28 mars 2014, 13:52 - HowTo
Addition to the previous article: PHP-FPM and HTTPD 2.4
Until now, we have to use the ProxyPassMatch directive, not very flexible, here is very simpler solution.
Amélioration de PHP-FPM et HTTPD 2.4
Par Remi le vendredi 28 mars 2014, 13:34 - HowTo
Suite du billet PHP-FPM et HTTPD 2.4
Jusqu'à présent, on devait passer par la directive ProxyPassMatch, pas très souple, voici comment faire plus simple.
jeudi 7 novembre 2013
Various PHP versions with an Apache 2.4 server
Par Remi le jeudi 7 novembre 2013, 15:38 - RPM
For my talk about Software Collections Introduction I done a demonstration on using a single Apache web server running simultaneously 3 PHP versions (5.3, 5.4 et 5.5).
Here is an how to implement this on RHEL 6 or CentOS 6.
Of course this configuration can be used on all distributions, if you can install various versions of the same application, or if you know how to build from sources. It's just easier with SCL.
Plusieurs versions de PHP sur un serveur Apache 2.4
Par Remi le jeudi 7 novembre 2013, 15:15 - HowTo
Pour illustrer ma conférence Introduction aux Software Collections, j'ai fait la démonstration sur l'utilisation d'un frontal Apache fonctionnant simultanément avec 3 versions de PHP (5.3, 5.4 et 5.5).
Gros plan sur cette mise en oeuvre très simple sur RHEL 6 ou CentOS 6.
Bien sur cette configuration peut s'appliquer à toutes les distributions, à condition de pouvoir installer plusieurs versions en parallèle ou de savoir compiler les sources. C'est juste plus facile avec les SCL.