Lars Strojny wrote:
Hi Rasmus,

Am Dienstag, den 15.07.2008, 11:40 -0700 schrieb Rasmus Lerdorf:
[...]
That's a realpath() call and it should be getting cached by the realpath cache, so if you are seeing these on every request, try increasing your realpath_cache size in your .ini. Without checking the realpath, you would be able to circumvent open_basedir checking really easily with a symlink.

Couldn't we do that check only if open_basedir is active?

Like I said, it is used for other things too, like include_once filename resolution. Check the code.

-Rasmus

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to