]> granicus.if.org Git - php/commitdiff
Default memory_limit value is set to 128M
authorDmitry Stogov <dmitry@php.net>
Thu, 21 Dec 2006 09:12:59 +0000 (09:12 +0000)
committerDmitry Stogov <dmitry@php.net>
Thu, 21 Dec 2006 09:12:59 +0000 (09:12 +0000)
main/main.c
php.ini-dist
php.ini-recommended

index d357b6e605c44a72606515eca1562be49519c26d..a72054de417ed5b83951a26e34c312608864b0a0 100644 (file)
@@ -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)
index 108d4dae684e55b92e6ee75c53aa3d77d21afd5c..540656d7474fa474196f2b50b09e803d6d92e51a 100644 (file)
@@ -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)
 
 
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
index beb2570611be72393f5291649535d2d4dcd78b11..e01bfe63078c055939756c38d88765037c50109d 100644 (file)
@@ -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)
 
 
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;