File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -55,9 +55,12 @@ using APC and ``opcache_reset()`` when using OPcache).
55
55
56
56
In PHP, the CLI and the web processes don't share the same OPcache. This
57
57
means that you cannot clear the web server OPcache by executing some command
58
- in your terminal. You either need to restart the web server or call the
59
- ``apc_clear_cache() `` or ``opcache_reset() `` functions via the web server
60
- (i.e. by having these in a script that you execute over the web).
58
+ in your terminal. These are some of the possible solutions:
59
+
60
+ 1. Restart the web server;
61
+ 2. Call the ``apc_clear_cache() `` or ``opcache_reset() `` functions via the
62
+ web server (i.e. by having these in a script that you execute over the web);
63
+ 3. Use the `cachetool `_ utility to control APC and OPcache from the CLI.
61
64
62
65
Optimizing all the Files Used by Symfony
63
66
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -211,3 +214,4 @@ Learn more
211
214
.. _`APCu PHP functions` : http://php.net/manual/en/ref.apcu.php
212
215
.. _`autoload.php` : https://github.com/symfony/symfony-standard/blob/master/app/autoload.php
213
216
.. _`bootstrap file` : https://github.com/sensiolabs/SensioDistributionBundle/blob/master/Composer/ScriptHandler.php
217
+ .. _`cachetool` : https://github.com/gordalina/cachetool
You can’t perform that action at this time.
0 commit comments