A PHP worker is a server process that handles requests for a PHP application by executing its code. In common setups, PHP-FPM manages a pool of workers and passes requests to them from a web server. Each worker runs under an operating-system account with specific permissions.
In cybersecurity, those permissions help determine the impact of a vulnerable application or runtime. If an attacker triggers a flaw that enables code execution, the code runs with the worker’s access-not automatically with full system control. Restrict the worker’s access to files, secrets, and writable directories; keep PHP runtimes patched; and investigate unusual crashes or request patterns. These steps limit potential damage and help identify suspicious activity.


