-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
[FIX] Realpath improvement in PHP 7.2 #8753
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
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.
Hmm, I don't think we can remove it completely: most users (at least for awhile) won't be using PHP 7.2. So, we should probably use the old text, but with some caveat that no change is needed on PHP 7.2. @Guikingone wdyt? |
@weaverryan Yes, good idea, I'm gonna update the file with a small block with the information. |
Added the tip block for PHP 7.2.
@weaverryan I've added a tip block for the PHP 7.2 improvement. |
performance.rst
Outdated
|
||
.. tip:: | ||
|
||
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
space before has
missing
@OskarStark Corrected :) |
Thanks @Guikingone! |
…ryan) This PR was submitted for the master branch but it was merged into the 2.7 branch instead (closes #8753). Discussion ---------- [FIX] Realpath improvement in PHP 7.2 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. Commits ------- f10c7b3 tweaking language a519d8e fix(syntax): added a space before has 17a0b8a fix(tip): Add the tip block for realpth_cache_size e177ca9 [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.