From d7b7678817b182ea47ca42b2bc7f989cb685d479 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Thu, 21 Dec 2006 09:12:59 +0000 Subject: [PATCH] Default memory_limit value is set to 128M --- main/main.c | 2 +- php.ini-dist | 2 +- php.ini-recommended | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/main/main.c b/main/main.c index d357b6e605..a72054de41 100644 --- a/main/main.c +++ b/main/main.c @@ -407,7 +407,7 @@ PHP_INI_BEGIN() PHP_INI_ENTRY("SMTP", "localhost",PHP_INI_ALL, NULL) PHP_INI_ENTRY("smtp_port", "25", PHP_INI_ALL, NULL) PHP_INI_ENTRY("browscap", NULL, PHP_INI_SYSTEM, NULL) - PHP_INI_ENTRY("memory_limit", "16M", PHP_INI_ALL, OnChangeMemoryLimit) + PHP_INI_ENTRY("memory_limit", "128M", PHP_INI_ALL, OnChangeMemoryLimit) PHP_INI_ENTRY("precision", "14", PHP_INI_ALL, OnSetPrecision) PHP_INI_ENTRY("sendmail_from", NULL, PHP_INI_ALL, NULL) PHP_INI_ENTRY("sendmail_path", DEFAULT_SENDMAIL_PATH, PHP_INI_SYSTEM, NULL) diff --git a/php.ini-dist b/php.ini-dist index 108d4dae68..540656d747 100644 --- a/php.ini-dist +++ b/php.ini-dist @@ -202,7 +202,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 = 16M ; Maximum amount of memory a script may consume (16MB) +memory_limit = 128M ; Maximum amount of memory a script may consume (16MB) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; diff --git a/php.ini-recommended b/php.ini-recommended index beb2570611..e01bfe6307 100644 --- a/php.ini-recommended +++ b/php.ini-recommended @@ -235,7 +235,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 = 16M ; Maximum amount of memory a script may consume (16MB) +memory_limit = 128M ; Maximum amount of memory a script may consume (16MB) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -- 2.50.1