Optimize PHP-FPM

Peter Knowles
2 min readApr 20, 2024

If you deploy servers with LAMP or LEMP stacks that are going to host a large volume of PHP applications, using PHP-FPM (Fast CGI Manager) you may quickly realize the default settings may cause your site to go into overdrive, using lots of RAM and not really giving it back in a reasonable time, causing your system to quickly become instable.

So, just upgrade the RAM you say? Sure that might solve the problem temporarily, but the likelihood is you’ll start to experience the issue again and again while not actually addressing the cause.

--

--