]> granicus.if.org Git - php/commitdiff
MFB: Increased default memory limit to 16 megabytes to accommodate for a
authorIlia Alshanetsky <iliaa@php.net>
Thu, 17 Aug 2006 13:43:51 +0000 (13:43 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Thu, 17 Aug 2006 13:43:51 +0000 (13:43 +0000)
more accurate memory utilization measurement.

main/main.c
php.ini-dist
php.ini-recommended

index ce40664b5ce4267a82d02a31624f0edce4cbb22b..abe09b232d633da25987df3740b6dacbdbc5188c 100644 (file)
@@ -409,7 +409,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)
index f5ec38ed4ce0f064f7f1e6adc09e2e2647a78ae7..d411ed1b69e06ad31c75a9dcb87cdda5f37f1be0 100644 (file)
@@ -201,7 +201,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)
 
 
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
index 86c25f8da2dfddc4c5f9beb95b0d45a1f6133a98..c6458aa11f8df2c75f59b38a44203bdf77a3199b 100644 (file)
@@ -234,7 +234,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)
 
 
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;