Skip to main content

Glossary P

Glossary · Cross-cutting

PHP-FPM

Area
Both strands

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.

Where a shop or another PHP application runs on PHP-FPM, this service is what executes its code. The PHP manual 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.

Sources

  1. PHP Manual: FastCGI Process Manager (FPM) (opens in a new tab)

    The PHP Group (php.net) accessed

Share on LinkedIn

Let's talk about your project.

If this term is on your desk right now, a conversation usually helps faster than any definition.

Search the website

Popular topics

All results