]> granicus.if.org Git - php/commitdiff
updated default per proposal
authorMarkus Staab <maggus.staab@googlemail.com>
Thu, 5 Jan 2017 09:18:48 +0000 (10:18 +0100)
committerJoe Watkins <krakjoe@php.net>
Fri, 6 Jan 2017 05:25:08 +0000 (05:25 +0000)
TODO: adjust php.ini defaults

main/main.c

index b55f879104abc5e18c37447a738174c90840e8e3..01ed3a64bc7367a5db55cdcc1ae9a2444ba2c4bc 100644 (file)
@@ -567,7 +567,7 @@ PHP_INI_BEGIN()
        STD_PHP_INI_BOOLEAN("allow_url_include",        "0",            PHP_INI_SYSTEM,         OnUpdateBool,           allow_url_include,              php_core_globals,               core_globals)
        STD_PHP_INI_BOOLEAN("enable_post_data_reading", "1",    PHP_INI_SYSTEM|PHP_INI_PERDIR,  OnUpdateBool,   enable_post_data_reading,       php_core_globals,       core_globals)
 
-       STD_PHP_INI_ENTRY("realpath_cache_size",        "128K",         PHP_INI_SYSTEM,         OnUpdateLong,   realpath_cache_size_limit,      virtual_cwd_globals,    cwd_globals)
+       STD_PHP_INI_ENTRY("realpath_cache_size",        "4096K",        PHP_INI_SYSTEM,         OnUpdateLong,   realpath_cache_size_limit,      virtual_cwd_globals,    cwd_globals)
        STD_PHP_INI_ENTRY("realpath_cache_ttl",         "120",          PHP_INI_SYSTEM,         OnUpdateLong,   realpath_cache_ttl,                     virtual_cwd_globals,    cwd_globals)
 
        STD_PHP_INI_ENTRY("user_ini.filename",          ".user.ini",    PHP_INI_SYSTEM,         OnUpdateString,         user_ini_filename,      php_core_globals,               core_globals)