Remi Collet

Remi Collet's contributions

PHP logo
Article

PHP Configuration Tips

Remi Collet

RHEL 7 provides the Apache HTTP Server version 2.4 and PHP version 5.4. The most common configuration for Apache httpd and PHP uses, but this has some limitations and drawbacks: a single PHP version of mod_php can be used mod_php run in the httpd process, without any isolation mod_phpis only supported for the prefork MPM This article will explain how to configure Apache httpd to delegate PHP scripts execution to a backend using the FastCGI protocol, how to use a...

PHP logo
Article

Running PHP FPM in Docker

Remi Collet

Use cases In Red Hat Enterprise Linux we support a variety of different versions of PHP. Sometimes users find they need to run a legacy application, requiring an older version of PHP, on a newer version of RHEL. Developers may want to develop an application on their Fedora Workstation and deploy it on a RHEL server or ensure it will be compatible with all available PHP versions in enterprise distributions. This example can be easily adapted for all PHP versions...

Article Thumbnail
Article

Apache with various PHP versions, using SCL

Remi Collet

RHSCL 1.1 Beta is available and provides Apache httpd 2.4, PHP 5.4 and PHP 5.5. The most common configuration for Apache and PHP uses mod_php , but this only allows a single PHP version. Apache httpd 2.4 introduces mod_proxy_fgci which can simply redirect requests to a php-fpm backend. This article shows a simple way to use a single Apache server and simultaneously run 3 versions of PHP (5.3, 5.4 and 5.5). The same site will be served through 3 sub-URL...

Article Thumbnail
Article

PHP 5.4 on RHEL-6 using RHSCL

Remi Collet

Official announcement : Red Hat Software Collections 1.0 Beta Now Available More information on Software Collections Software Collections Guide Stability addicts can keep quiet, PHP 5.3.3 is still the standard version provided with RHEL-6. We'll soon have an official and supported way to install PHP version 5.4 , beside the system version, without any effect on installed components. The announcement tells us the life cycle will be 3 years. Warning : it's a beta version, published for evaluation purposes. Installation...