Remi's RPM repository - Blog

  

Blog | Forum | Repository | Wizard

samedi 28 octobre 2017

PHP Configuration Tips

Read: PHP Configuration Tips

This article provides refreshed information published here during recent years.

Notice: starting with Fedora 27, the default PHP configuration uses FPM, as explained in this article.

 

Astuces de configuration de PHP

Traduction de l'article PHP Configuration Tips.

Cet article regroupe les informations actualisées qui ont été publiées ici au cours des dernières années.

Lire la suite...

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...

jeudi 11 décembre 2014

PHP-FPM in Docker

Use case : running php 5.3.3 on a Fedora 20 / 21 development workstation, for production deployment on  RHEL-6 (as no php 5.3 SCL exists).

Lire la suite...

PHP-FPM dans Docker

Cas d'utilisation : faire tourner php 5.3.3 sur une machine de développement en Fedora 20 / 21, pour déploiement en production sur RHEL-6 (et aucune SCL de php 5.3 n'est actuellement disponible).

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...

jeudi 6 juin 2013

PHP-FPM and systemd

Those who are used to read the release notes have probably noticed a new feature :

- FPM:
  . Add --with-fpm-systemd option to report health to systemd, and
    systemd_interval option to configure this. The service can now use
    Type=notify in the systemd unit file. (Remi)

Lire la suite...

PHP-FPM et systemd

Ceux qui lisent les notes de versions auront peut-être remarqué la nouveauté :

- FPM:
  . Add --with-fpm-systemd option to report health to systemd, and
    systemd_interval option to configure this. The service can now use
    Type=notify in the systemd unit file. (Remi)

Lire la suite...

lundi 2 avril 2012

PHP-FPM and HTTPD 2.4

The php-fpm engine can now work with httpd 2.4 and the mod_proxy_fcgi module, here is a small implementation example.

Lire la suite...

PHP-FPM et HTTPD 2.4

Le moteur php-fpm peut désormais fonctionner avec httpd 2.4 et le module mod_proxy_fcgi, voici un petit exemple de mise en oeuvre.

Lire la suite...

mardi 28 septembre 2010

PHP-FPM and LIGHTTPD

Since PHP 5.3.3, the PHP-FPM engine is bundled. The php-fpm package is available in remi repository and will be soon in rawhide.

This entry show how to use it with the lighttpd web server.

Lire la suite...

PHP-FPM et LIGHTTPD

Depuis PHP 5.3.3, le moteur PHP-FPM est intégré. Le paquet php-fpm est disponible dans le dépôt remi est sera bientôt aussi dans rawhide.

Cet article montre comment l'utiliser avec le serveur lighttpd.

Lire la suite...

lundi 27 septembre 2010

PHP-FPM and NGINX

Since PHP 5.3.3, the PHP-FPM engine is bundled. The php-fpm package is available in remi repository and will be soon in rawhide.

This entry show how to use it with the nginx web server.

Lire la suite...

- page 1 de 2