File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -79,20 +79,17 @@ real and absolute file system paths. This increases the performance for
79
79
applications like Symfony that open many PHP files, especially on Windows
80
80
systems.
81
81
82
- By default, cached paths are only stored for `` 120 `` seconds by default, consider updating this value using the ``realpath_cache_ttl `` option :
82
+ Consider increasing the `` realpath_cache_size `` and ``realpath_cache_ttl ``:
83
83
84
84
.. code-block :: ini
85
85
86
86
; php.ini
87
+ ; 4096k is the default value in PHP 7.2
87
88
realpath_cache_size =4096K
88
89
realpath_cache_ttl =600
89
90
90
91
.. index ::
91
92
single: Performance; Autoloader
92
-
93
- .. tip ::
94
-
95
- Since PHP 7.2, the default value for ``realpath_cache_size `` has been set to 4096K, feel free to delete this trick in your ``php.ini `` file.
96
93
97
94
Use Composer's Class Map Functionality
98
95
--------------------------------------
You can’t perform that action at this time.
0 commit comments