
PHP Configuration Tips
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 more recent PHP version, how to run multiple PHP versions, and how to improve Apache httpd performance.
Continue reading “PHP Configuration Tips”