From: wbob Date: Sat, 12 Jan 2019 08:49:23 +0000 (+0100) Subject: document open_basedir and realpath cache coupling in php.ini X-Git-Tag: php-7.3.2RC1~16^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5ac9990ddf0521b1c79b5e061a342a6dfb53d30c;p=php document open_basedir and realpath cache coupling in php.ini [ci skip] --- diff --git a/php.ini-development b/php.ini-development index 60b9f70691..d6e219b295 100644 --- a/php.ini-development +++ b/php.ini-development @@ -300,6 +300,7 @@ serialize_precision = -1 ; open_basedir, if set, limits all file operations to the defined directory ; and below. This directive makes most sense if used in a per-directory ; or per-virtualhost web server configuration file. +; Note: disables the realpath cache ; http://php.net/open-basedir ;open_basedir = @@ -332,6 +333,7 @@ disable_classes = ; Determines the size of the realpath cache to be used by PHP. This value should ; be increased on systems where PHP opens many files to reflect the quantity of ; the file operations performed. +; Note: if open_basedir is set, the cache is disabled ; http://php.net/realpath-cache-size ;realpath_cache_size = 4096k diff --git a/php.ini-production b/php.ini-production index 1f4dfe2c6a..0bd579a0b0 100644 --- a/php.ini-production +++ b/php.ini-production @@ -305,6 +305,7 @@ serialize_precision = -1 ; open_basedir, if set, limits all file operations to the defined directory ; and below. This directive makes most sense if used in a per-directory ; or per-virtualhost web server configuration file. +; Note: disables the realpath cache ; http://php.net/open-basedir ;open_basedir = @@ -337,6 +338,7 @@ disable_classes = ; Determines the size of the realpath cache to be used by PHP. This value should ; be increased on systems where PHP opens many files to reflect the quantity of ; the file operations performed. +; Note: if open_basedir is set, the cache is disabled ; http://php.net/realpath-cache-size ;realpath_cache_size = 4096k