Skip to content

using open_basedir will disable the realpath cache #10800

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

Closed
wants to merge 1 commit into from
Closed

using open_basedir will disable the realpath cache #10800

wants to merge 1 commit into from

Conversation

wbob
Copy link
Contributor

@wbob wbob commented Dec 21, 2018

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

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
@javiereguiluz javiereguiluz added this to the 3.4 milestone Dec 26, 2018
javiereguiluz added a commit that referenced this pull request Dec 26, 2018
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
@javiereguiluz
Copy link
Member

@wbob thanks a lot for improving the Symfony docs and for providing all the needed references. This was a great first Symfony Docs contribution! Congrats 🎉

(note: we merged this in 3.4 branch and we'll merge it in the other branches later automatically)

@wbob
Copy link
Contributor Author

wbob commented Jan 5, 2019

fyi - as of php#77406 the php documentation has this info now too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants