Logo Deutsch Contact

Optimizing PHP-FPM for Production

The FastCGI Process Manager (PHP-FPM) evolved from a third-party patch to the de-facto standard for running web applications with PHP. By default, though, the configuration shipped with most distributions is designed for minimal resource consumption. And while production servers can operate using these settings even under relatively high load without problems for a while, getting the most out of FPM requires some tuning. Preparing the PHP stack for high load situations and monitoring the performance, optimizing the runtime for specific types of requests, or hardening the security of your environment – there is much to consider.