Skip to content
Discussion options

You must be logged in to vote

PHP-FPM with OPcache caches compiled bytecode in the worker processes, and it keeps serving the old code until the workers recycle. After deploying new code, reload/restart the FPM pool (or call opcache_reset()) — clearing Laravel's own caches isn't enough because the staleness is at the PHP engine layer.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Kevinchamplin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant