|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-01-01 19:42 UTC] iliaa@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 06:00:02 2025 UTC |
Description: ------------ Having a lot of performance issues on FreeBSD caused an investigation into realpath_cache. It turns out the cache is disabled when safe mode or open basedir are enabled. However, in a client's configuration, with FastCGI and SuExec, realpath_cache poses no security threat. With this cache, performance is greatly improved. It should be optional to override the decision to disable the cache. Reproduce code: --------------- /* Disable realpath cache if safe_mode or open_basedir are set */ if (PG(safe_mode) || (PG(open_basedir) && *PG(open_basedir))) { CWDG(realpath_cache_size_limit) = 0; } Expected result: ---------------- N/A Actual result: -------------- N/A