Remi's RPM repository - Blog

  

Blog | Forum | Repository | Wizard

vendredi 17 novembre 2017

Fedora 27: changes in httpd and php

The Apache HTTP server and PHP configuration have changed in Fedora 27, here is some explanations.

Lire la suite...

Fedora 27: changements dans httpd et php

La configuration du serveur HTTP Apache et de PHP a été modifiée dans Fedora 27, voici quelques explications.

Lire la suite...

lundi 30 mai 2016

PHP Tour 2016 Clermont-Ferrand

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

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

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.

 

Lire la suite...

Apache HTTP Server et répartiteur de charge vers PHP FPM

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.

 

Lire la suite...

vendredi 1 août 2014

Apache httpd server 2.4.10 and PHP-FPM 5.6 in Fedora 21

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.

Lire la suite...

Apache httpd server 2.4.10 et PHP-FPM 5.6 dans Fedora 21

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.

Lire la suite...

vendredi 28 mars 2014

PHP-FPM and HTTPD 2.4 improvement

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.

Lire la suite...

Amélioration de PHP-FPM et HTTPD 2.4

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.

Lire la suite...

jeudi 7 novembre 2013

Various PHP versions with an Apache 2.4 server

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.

Lire la suite...

Plusieurs versions de PHP sur un serveur Apache 2.4

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.

Lire la suite...