Skip to content

Commit e177ca9

Browse files
Guikingoneweaverryan
authored andcommitted
[FIX](Realpath)
As PHP 7.2 provide a default value of 4096k (as seen https://github.com/php/php-src/blob/php-7.2.0RC6/UPGRADING#L357), the line about this improvement can be deleted.
1 parent d0328db commit e177ca9

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

performance.rst

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -79,15 +79,11 @@ real and absolute file system paths. This increases the performance for
7979
applications like Symfony that open many PHP files, especially on Windows
8080
systems.
8181

82-
By default, PHP sets a ``realpath_cache_size`` of ``16K`` which is too low for
83-
Symfony. Consider updating this value at least to ``4096K``. In addition, cached
84-
paths are only stored for ``120`` seconds by default. Consider updating this
85-
value too using the ``realpath_cache_ttl`` option:
82+
By default, cached paths are only stored for ``120`` seconds by default, consider updating this value using the ``realpath_cache_ttl`` option:
8683

8784
.. code-block:: ini
8885
8986
; php.ini
90-
realpath_cache_size=4096K
9187
realpath_cache_ttl=600
9288
9389
.. index::

0 commit comments

Comments
 (0)