Hi,
I think the best solution to this problem, without breaking functionality,
is to use a cache for realpath() in virtual_file_ex().
This should solve the performance problems and not effect BC at all. As
TSRM always passes a full path to the realpath() call there, it should
always work.
Andi
P.S.-Theoretically the only time it could cause problems is if someone,
while the server is running, changes a symlink in one of the cached paths.
This is highly unlikely.
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php
- Re: [PHP-DEV] Reducing the numbe... Rasmus Lerdorf
- Re: [PHP-DEV] Reducing the n... Andi Gutmans
- Re: [PHP-DEV] Reducing the n... Sascha Schumann
- Re: [PHP-DEV] Reducing the n... Rasmus Lerdorf
- Re: [PHP-DEV] Reducing the n... Miham KEREKES
- Re: [PHP-DEV] Reducing the n... Sebastian Bergmann
- Re: [PHP-DEV] Reducing the n... Rasmus Lerdorf
- Re: [PHP-DEV] Reducing the n... Andi Gutmans
- Re: [PHP-DEV] Reducing the n... Rasmus Lerdorf
- Re: [PHP-DEV] Reducing the n... Marcus Börger
- Re: [PHP-DEV] Reducing the n... Andi Gutmans
- Re: [PHP-DEV] Reducing the n... George Schlossnagle
- Re: [PHP-DEV] Reducing the n... Rasmus Lerdorf
- Re: [PHP-DEV] Reducing the n... George Schlossnagle
- Re: [PHP-DEV] Reducing the number of ... Stanislav Malyshev
- Re: [PHP-DEV] Reducing the number of system c... Andi Gutmans
- Re: [PHP-DEV] Reducing the number of syst... Rasmus Lerdorf
- Re: [PHP-DEV] Reducing the number of system calls for ... Stig S. Bakken
- Re: [PHP-DEV] Reducing the number of system calls... Rasmus Lerdorf
- Re: [PHP-DEV] Reducing the number of system calls for ... George Schlossnagle
- Re: [PHP-DEV] Reducing the number of system calls... Rasmus Lerdorf