Skip to content

Commit a342483

Browse files
committed
[#6937] A few small tweaks!
1 parent 9cb25d9 commit a342483

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

performance.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,15 @@ using APC and ``opcache_reset()`` when using OPcache).
4848

4949
In PHP, the CLI and the web processes don't share the same OPcache. This
5050
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).
5354

5455
Optimizing all the Files Used by Symfony
5556
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5657

5758
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
5960
higher limit with the `opcache.max_accelerated_files`_ configuration option:
6061

6162
.. code-block:: ini
@@ -68,7 +69,7 @@ Configure the PHP realpath Cache
6869

6970
PHP uses an internal cache to store the result of mapping file paths to their
7071
real and absolute file system paths. This increases the performance for
71-
applications like Symfony that open many PHP files, specially on Windows
72+
applications like Symfony that open many PHP files, especially on Windows
7273
systems.
7374

7475
By default PHP sets a ``realpath_cache_size`` of ``16K`` which is too low for

0 commit comments

Comments
 (0)