docker-symfony
docker-symfony copied to clipboard
PHP - Configure the PHP realpath Cache
When a relative path is transformed into its real and absolute path, PHP caches the result to improve performance. Applications that open many PHP files, such as Symfony projects, should use at least these values:
; php.ini
; maximum memory allocated to store the results
realpath_cache_size=4096K
; save the results for 10 minutes (600 seconds)
realpath_cache_ttl=600
PHP disables the realpath cache when the open_basedir config option is enabled.