Skip to main content

PHP Optimization

PHP is the runtime that executes WordPress core, themes, and plugins for any request that is not served from page cache. This module covers practical PHP settings (especially OPcache) that reduce CPU load and stabilize dynamic requests.

LessonDescription
Optimization FoundationHow PHP execution works in common WordPress stacks
PHP VersionsChoosing a supported PHP version and understanding tradeoffs
OPcache TuningSize OPcache correctly and avoid common misconfigurations
OPcache PreloadingWhen preloading helps and how to implement it safely
JIT CompilationWhat PHP JIT is and why it rarely helps typical WordPress