Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cdcbb54

Browse files
committed
minor #10800 using open_basedir will disable the realpath cache (wbob)
This PR was submitted for the master branch but it was merged into the 3.4 branch instead (closes #10800). Discussion ---------- using open_basedir will disable the realpath cache as of PHP 7.3.0 this is unresolved, setting an open_basedir directory will disable realpath. This is slightly underdocumented (on php.net ini.core only in the comments). See https://github.com/php/php-src/blob/PHP-7.3.0/main/main.c#L1800 and https://bugs.php.net/bug.php?id=52312 <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/roadmap for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `master` for features of unreleased versions). --> Commits ------- fe0f71d using open_basedir will disable the realpath cache
2 parents 0fb4a46 + fe0f71d commit cdcbb54

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

performance.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,8 @@ such as Symfony projects, should use at least these values:
179179
; save the results for 10 minutes (600 seconds)
180180
realpath_cache_ttl=600
181181
182+
Note: using ``open_basedir`` will disable the realpath Cache.
183+
182184
.. _performance-optimize-composer-autoloader:
183185

184186
Optimize Composer Autoloader

0 commit comments

Comments
 (0)