Skip to content

Commit 84e8bb1

Browse files
committed
[#6937] A few small tweaks!
1 parent 873c277 commit 84e8bb1

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

performance.rst

+5-4
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
@@ -71,7 +72,7 @@ Configure the PHP realpath Cache
7172

7273
PHP uses an internal cache to store the result of mapping file paths to their
7374
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
7576
systems.
7677

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

0 commit comments

Comments
 (0)