PHP Realpath Cache

PHP has a feature to cache the realpath resolutions to speed up frequent accesses to the filesystem.

realpath_cache_size = 512K
realpath_cache_ttl = 86400

Check current realpath cache size using

var_dump(realpath_cache_size());

Reference

Leave a Reply

Your email address will not be published. Required fields are marked *