note 101840 added to function.realpath_cache_size
| From: | StephenPritchardfromArcanavision at osu1 dot php dot net | Date: | Thu, 13 Jan 2011 18:18:32 +0000 |
| Subject: | note 101840 added to function.realpath_cache_size | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-175718@lists.php.net to get a copy of this message | ||
"realpath_cache_size" is used by PHP to cache the real file system paths of filenames
referenced instead of looking them up each time. Every time you perform any of the various file
functions or include/require a file and use a relative path, PHP has to look up where that file
really exists. PHP caches those values so it doesnât have to search the current working
directory and include_path for the file you are working on.
If your website uses lots of relative path files, think about increasing this value. What value is
required can be better estimated after monitoring by how fast the cache fills using
realpath_cache_size() after restarting. Its contents can be viewed using realpath_cache_get().
www.ArcanaVision.com
----
Server IP: 69.147.83.197
Probable Submitter: 81.179.247.130
----
Manual Page -- http://www.php.net/manual/en/function.realpath_cache_size.php
Edit -- https://master.php.net/note/edit/101840
Del: integrated -- https://master.php.net/note/delete/101840/integrated
Del: useless -- https://master.php.net/note/delete/101840/useless
Del: bad code -- https://master.php.net/note/delete/101840/bad+code
Del: spam -- https://master.php.net/note/delete/101840/spam
Del: non-english -- https://master.php.net/note/delete/101840/non-english
Del: in docs -- https://master.php.net/note/delete/101840/in+docs
Del: other reasons-- https://master.php.net/note/delete/101840
Reject -- https://master.php.net/note/reject/101840
Search -- https://master.php.net/manage/user-notes.php