PHP error category

PHP-FPM

FastCGI process management.

PHP-FPM errors arise when fastcgi process management affect an executing PHP application or its supporting service. Use the exact signature and runtime context to narrow the cause before changing configuration.

The guides in this category separate code defects from environment differences, show focused diagnostics, and favor site-scoped corrections that preserve unrelated applications.

Technical diagram for php-fpm

Guides in this category

Title Pattern Severity
502 Bad Gateway from PHP-FPM 502 Bad Gateway error
Allowed memory size exhausted Fatal error: Allowed memory size of %d bytes exhausted (tried to allocate %d bytes) in %s on line %d fatal
Maximum execution time exceeded Fatal error: Maximum execution time of %d seconds exceeded in %s on line %d fatal
PHP-FPM address already in use ERROR: unable to bind listening socket for address '%s:9000': Address already in use error
PHP-FPM pool seems busy WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers) warning
PHP-FPM Primary script unknown Primary script unknown error
PHP-FPM server reached pm.max_children WARNING: [pool www] server reached pm.max_children setting (5), consider raising it warning
PHP-FPM slowlog permission denied ERROR: failed to open slowlog (/var/log/php-fpm/www-slow.log): Permission denied error

Helpful tools