-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Closed
Description
On page https://symfony.com/doc/master/performance.html
I noticed when trying to apply the opcache.preload
setting that the file announced in the docs wasn't the actual name of the file in my project. (4.4.5)
; php.ini
opcache.preload=/path/to/project/var/cache/prod/App_KernelProdContainer.preload.php
Should actually be
; php.ini
opcache.preload=/path/to/project/var/cache/prod/srcApp_KernelProdContainer.preload.php
(notice the srcApp_KernelProdContainer
).
As @Pierstoval pointed me, this is because in SF <5 the name of the app is included in the file (src). I can make a docs PR to point this out.
Should it be on master with a notice or on 4.4 docs ?
Pierstoval
Metadata
Metadata
Assignees
Labels
No labels