# PHP-FPM

> PHP-FPM (FastCGI Process Manager) is a service on the server that runs programs written in PHP, such as an online shop or a business application, and manages pools of worker processes for them.

Original page: https://t10.de/en/glossary/php-fpm
Publisher: total10 GmbH, https://t10.de/en/glossary

Where a shop or another PHP application runs on PHP-FPM, this service is what executes its code. The [PHP manual](https://www.php.net/manual/en/install.fpm.php) describes FPM as a primary PHP FastCGI implementation with some features that are mostly useful for heavily loaded sites. Among those features are pools: groups of worker processes that can each be started with their own user and environment settings. Each pool can listen on its own port and use its own configuration. The service receives its requests over FastCGI connections.

The manual also carries a warning: PHP-FPM must not be reachable from an untrusted network. The reason it gives is that a client able to open a FastCGI connection controls the configuration used for the request and can therefore execute arbitrary code.

In a Shopware 5 shop, the cache of the PHP-FPM process keeps serving outdated data after a plugin has been installed from the command line. That is why we then restart PHP-FPM, or clear the cache in the backend instead. Changes made to the shop configuration directly in the database likewise take effect only once the PHP-FPM process cache has been cleared.

## See also

- [Monitoring](https://t10.de/en/glossary/monitoring): Monitoring is the checking of IT components against defined thresholds, so that a notification or an alarm is triggered when a threshold is reached.
- [Denial of service](https://t10.de/en/glossary/denial-of-service): Denial of service (DoS) is an attack that overloads or disrupts a service such as an online shop so that it is no longer available to its users.
- [Backend](https://t10.de/en/glossary/backend): The backend is the part of a web application that works behind what visitors see; in Shopware 5, the word means the administration interface through which operators manage their shop.

## Sources

1. [PHP Manual: FastCGI Process Manager (FPM)](https://www.php.net/manual/en/install.fpm.php), The PHP Group (php.net), accessed 2026-11-16
