From: foobar Date: Mon, 8 Apr 2002 07:58:47 +0000 (+0000) Subject: upload_max_filesize can only be set in php.ini X-Git-Tag: php-4.3.0dev-ZendEngine2-Preview1~791 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=14a6bc6d692bc98559c95b45fdea32f2330d97c0;p=php upload_max_filesize can only be set in php.ini --- diff --git a/main/main.c b/main/main.c index e9717b73ac..45e9a1d777 100644 --- a/main/main.c +++ b/main/main.c @@ -272,7 +272,7 @@ PHP_INI_BEGIN() PHP_INI_ENTRY("max_execution_time", "30", PHP_INI_ALL, OnUpdateTimeout) STD_PHP_INI_ENTRY("open_basedir", NULL, PHP_INI_SYSTEM, OnUpdateStringUnempty, open_basedir, php_core_globals, core_globals) STD_PHP_INI_ENTRY("safe_mode_exec_dir", "1", PHP_INI_SYSTEM, OnUpdateString, safe_mode_exec_dir, php_core_globals, core_globals) - STD_PHP_INI_ENTRY("upload_max_filesize", "2M", PHP_INI_ALL, OnUpdateInt, upload_max_filesize, php_core_globals, core_globals) + STD_PHP_INI_ENTRY("upload_max_filesize", "2M", PHP_INI_SYSTEM, OnUpdateInt, upload_max_filesize, php_core_globals, core_globals) STD_PHP_INI_ENTRY("file_uploads", "1", PHP_INI_ALL, OnUpdateBool, file_uploads, php_core_globals, core_globals) STD_PHP_INI_ENTRY("post_max_size", "8M", PHP_INI_SYSTEM, OnUpdateInt, post_max_size, sapi_globals_struct,sapi_globals) STD_PHP_INI_ENTRY("upload_tmp_dir", NULL, PHP_INI_SYSTEM, OnUpdateStringUnempty, upload_tmp_dir, php_core_globals, core_globals)