3 articles
Knowledge Base
PHP
3 articles in the PHP category.
- Configuring PHP opcache for production Size opcache.memory_consumption to the codebase, disable timestamp checks, and pick the validation strategy that fits your deployment model.
- PHP-FPM pool sizing: pm.max_children done right Calculate pm.max_children from real per-worker RSS and host memory, pick between static and dynamic process management, and avoid the cargo-cult numbers.
- Installing PHP-FPM on Ubuntu with the right defaults Install PHP-FPM 8.x on Ubuntu, point Nginx at the FPM socket, and adjust the pool defaults that ship inappropriately tuned for a real server.