A PHP worker (sometimes referred to as a PHP process or child process, or in relation to max_children
log entries) is the backend server process that handles the tasks that generate web pages your visitors see when they load up your site.
Most sites on Flywheel have multiple PHP workers working concurrently. The number of available workers is variable based on several considerations, such as the site’s hosting plan, the type of content displayed on the site, the number of visitors, and other factors.
When PHP workers get overwhelmed with requests, they cannot process them all, which can result in slower performance or even server (5xx) errors.
There are several ways to remedy issues related to PHP workers:
A helpful analogy to illustrate PHP workers is waiters at a restaurant.
Each waiter (PHP worker) at the restaurant (website) is serving specific diners (site visitors), going back and forth between the kitchen (web server) and the diner to deliver food orders (web pages). In addition, the waiter could be performing background tasks, such as washing dishes or putting out menus (adding tables to the site database).
If the restaurant gets too busy, the waiters will have to prioritize certain orders (processes) because they can only do one thing at a time. This could cause a backlog to pile up, which could cause diners to leave the restaurant (process failure).
Flywheel plans are not assigned a set amount of PHP workers – these can be adjusted as needed to ensure site performance (within plan parameters). To help with performance, Flywheel’s FlyCache feature drastically decreases the number of server requests each PHP worker must complete, which helps your sites remain stable and run faster.
If your site is having issues and you suspect it’s related to PHP workers, our Happiness Engineers would be glad to take a look!
New to Flywheel? Start here, we've got all the information you'll need to get started and launch your first site!
View allLearn all about managing your Flywheel user account, Teams and integrations.
View allFlywheel hosting plans include a ton of great features. Learn about how to get a free SSL certificate, set up a staging site, and more!
View allAll the server and setting info you'll need to help you get the most out of your Flywheel hosting plan!
View allTips and tricks for managing your sites on Flywheel, including going live, troubleshooting issues and migrating or cloning sites.
View allLearn more about Growth Suite, our all-in-one solution for freelancers and agencies to grow more quickly and predictably.
Getting started with Growth Suite
Growth Suite: What are invoice statuses?
Growth Suite: What do client emails look like?
Learn more about Managed Plugin Updates, and how you can keep your sites up to date, and extra safe.
Restoring Plugin and Theme Management on Flywheel
Managed Plugin Updates: Database upgrades
Managed Plugin Updates: Pause plugin updates
We can help! Check out our Brand Resources page for links to all of our brand assets.
Brand Resources