From 3a211712eb59b2ad8b623dd6f32bb3a28f10fca7 Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Thu, 17 Aug 2006 13:43:08 +0000 Subject: [PATCH] Increased default memory limit to 16 megabytes to accommodate for a more accurate memory utilization measurement. --- NEWS | 4 +++- main/main.c | 2 +- php.ini-dist | 2 +- php.ini-recommended | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/NEWS b/NEWS index 1bd9c83528..1116b79a1c 100644 --- a/NEWS +++ b/NEWS @@ -1,6 +1,8 @@ PHP NEWS ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| -?? Aug 2006, PHP 5.2.0RC2 +17 Aug 2006, PHP 5.2.0RC2 +- Increased default memory limit to 16 megabytes to accommodate for a more + accurate memory utilization measurement. - Updated libsqlite in ext/pdo_sqlite to 3.3.7. (Ilia) - Added support for httpOnly flag for session extension and cookie setting functions. (Scott MacVicar, Ilia) diff --git a/main/main.c b/main/main.c index 215a497dc5..cc44717432 100644 --- a/main/main.c +++ b/main/main.c @@ -312,7 +312,7 @@ PHP_INI_BEGIN() PHP_INI_ENTRY("smtp_port", "25", PHP_INI_ALL, NULL) PHP_INI_ENTRY("browscap", NULL, PHP_INI_SYSTEM, NULL) #if MEMORY_LIMIT - PHP_INI_ENTRY("memory_limit", "8M", PHP_INI_ALL, OnChangeMemoryLimit) + PHP_INI_ENTRY("memory_limit", "16M", PHP_INI_ALL, OnChangeMemoryLimit) #endif PHP_INI_ENTRY("precision", "14", PHP_INI_ALL, OnSetPrecision) PHP_INI_ENTRY("sendmail_from", NULL, PHP_INI_ALL, NULL) diff --git a/php.ini-dist b/php.ini-dist index 6c825ca8dd..55a3424e6e 100644 --- a/php.ini-dist +++ b/php.ini-dist @@ -253,7 +253,7 @@ expose_php = On max_execution_time = 30 ; Maximum execution time of each script, in seconds max_input_time = 60 ; Maximum amount of time each script may spend parsing request data -memory_limit = 8M ; Maximum amount of memory a script may consume (8MB) +memory_limit = 16M ; Maximum amount of memory a script may consume (16MB) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; diff --git a/php.ini-recommended b/php.ini-recommended index c1e7a4cabb..c557806f75 100644 --- a/php.ini-recommended +++ b/php.ini-recommended @@ -311,7 +311,7 @@ expose_php = On max_execution_time = 30 ; Maximum execution time of each script, in seconds max_input_time = 60 ; Maximum amount of time each script may spend parsing request data -memory_limit = 8M ; Maximum amount of memory a script may consume (8MB) +memory_limit = 16M ; Maximum amount of memory a script may consume (16MB) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -- 2.40.0