File tree Expand file tree Collapse file tree 1 file changed +14
-3
lines changed
Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -25,13 +25,24 @@ Add the package to `app/AppKernel.php`, *before* the EzPublishCoreBundle declara
2525The package will replace the services from the kernel, thus enabling the new features, such as multi-tagging.
2626
2727The application cache class needs to be customized. If you haven't changed the ` AppCache ` class, you can do so
28- by setting the ` SYMFONY_HTTP_CACHE_CLASS ` environment variable:
28+ by setting the ` SYMFONY_HTTP_CACHE_CLASS ` environment variable for your PHP or web server user.
29+ If you use your own ` AppCache ` class, you will have to make it to extend from this class instead
30+ of from the CoreBundle's.
31+
32+ For PHP's internal server:
2933
3034 export SYMFONY_HTTP_CACHE_CLASS='EzSystems\PlatformHttpCacheBundle\AppCache'
3135
32- Do not forget to restart your web server.
36+ For Apache, with the default eZ Platform virtual host definition, uncomment the ` SetEnv ` lines for the two
37+ variables above in your virtualhost, and set the values accordingly:
38+
39+ SetEnv SYMFONY_HTTP_CACHE_CLASS='EzSystems\PlatformHttpCacheBundle\AppCache'
3340
34- Alternatively, if you use your own ` AppCache ` class, you will have to make it to extend from this class instead.
41+ For Nginx, set the variables using ` fastcgi_param ` :
42+
43+ fastcgi_param SYMFONY_HTTP_CACHE "1";
44+
45+ Do not forget to restart your web server.
3546
3647## Features
3748
You can’t perform that action at this time.
0 commit comments