PHP
21 articles in this section
This section treats PHP as a runtime on a server, not a programming language to learn: how PHP-FPM pools and workers actually work, why OPcache matters and when to turn on JIT, and how to keep several PHP versions — 7.4, 8.1, 8.2 — side by side on one machine without breaking older projects during an upgrade.
Other guides cover the tooling around PHP: Composer and optimizing its autoloader, Xdebug for debugging without slowing down production, queues with Supervisor for Laravel and Symfony, sessions stored in Redis once a site runs on more than one server, and Swoole or RoadRunner for long-running processes instead of classic FPM.
A few practical write-ups round things out: how PHP in cron differs from PHP-FPM, reading error_log without confusing it with display_errors in production, why strict_types matters, and how to check uploaded files safely so nobody slips in a web shell.
- PHP-FPM, OPcache and JIT: tuning for real load
- Running multiple PHP versions and upgrading to 8.3/8.4
- Composer, autoloading and Xdebug
- Laravel and Symfony: deployment, queues, Redis sessions