PHP memory limits and WordPress stability

phpphp-fpmwordpresshostingtroubleshooting

Low memory limits don’t always fail loudly. They fail inconsistently—admin pages half-load, plugin installs die mid-way, or you get 500s that don’t point to an obvious fatal. This guide explains where limits apply and how to fix them.

Symptoms

Where limits apply

Fix pattern

FAQ

How do I know which pool my site uses?
Check the Apache vhost for the site: it will reference a socket path or TCP address. Match that to a pool in /etc/php/*/fpm/pool.d/. See Apache + PHP-FPM stability basics and per-site pools.

I increased memory in php.ini but nothing changed.
If the site is served by PHP-FPM, the pool config can override php.ini. Edit the pool’s php_admin_value or php_value for memory_limit, then restart that PHP-FPM instance.