@@ -48,14 +48,15 @@ using APC and ``opcache_reset()`` when using OPcache).
48
48
49
49
In PHP, the CLI and the web processes don't share the same OPcache. This
50
50
means that you cannot clear the web server OPcache by executing some command
51
- in your terminal. You either need to restart the web server or call to the
52
- ``apc_clear_cache() `` and ``opcache_reset() `` functions via the web server.
51
+ in your terminal. You either need to restart the web server or call the
52
+ ``apc_clear_cache() `` or ``opcache_reset() `` functions via the web server
53
+ (i.e. by having these in a script that you execute over the web).
53
54
54
55
Optimizing all the Files Used by Symfony
55
56
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
56
57
57
58
By default, PHP's OPcache saves up to 2,000 files in the byte code cache. This
58
- number is too low for the typical Symfony applications , so you should set a
59
+ number is too low for the typical Symfony application , so you should set a
59
60
higher limit with the `opcache.max_accelerated_files `_ configuration option:
60
61
61
62
.. code-block :: ini
@@ -71,7 +72,7 @@ Configure the PHP realpath Cache
71
72
72
73
PHP uses an internal cache to store the result of mapping file paths to their
73
74
real and absolute file system paths. This increases the performance for
74
- applications like Symfony that open many PHP files, specially on Windows
75
+ applications like Symfony that open many PHP files, especially on Windows
75
76
systems.
76
77
77
78
By default PHP sets a ``realpath_cache_size `` of ``16K `` which is too low for
0 commit comments