diff options
author | Alex Dupre <ale@FreeBSD.org> | 2005-12-10 08:42:56 +0000 |
---|---|---|
committer | Alex Dupre <ale@FreeBSD.org> | 2005-12-10 08:42:56 +0000 |
commit | 757aa194dae84522a8640238a03bb72c61441225 (patch) | |
tree | c9969dca286cfca90a6d3c0723722e48ed78618a /lang | |
parent | - update to 0.22 (diff) |
Raise default memory limit from 8M to 12M to let pear run well
on 64bit archs.
Notes
Notes:
svn path=/head/; revision=150779
Diffstat (limited to 'lang')
-rw-r--r-- | lang/php4/files/patch-main_main.c | 11 | ||||
-rw-r--r-- | lang/php5/files/patch-main_main.c | 11 | ||||
-rw-r--r-- | lang/php53/files/patch-main_main.c | 11 |
3 files changed, 33 insertions, 0 deletions
diff --git a/lang/php4/files/patch-main_main.c b/lang/php4/files/patch-main_main.c new file mode 100644 index 000000000000..fda40aee97f5 --- /dev/null +++ b/lang/php4/files/patch-main_main.c @@ -0,0 +1,11 @@ +--- main/main.c.orig Sat Dec 10 09:40:39 2005 ++++ main/main.c Sat Dec 10 09:40:57 2005 +@@ -344,7 +344,7 @@ + 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", "12M", 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/lang/php5/files/patch-main_main.c b/lang/php5/files/patch-main_main.c new file mode 100644 index 000000000000..fdab9447de1d --- /dev/null +++ b/lang/php5/files/patch-main_main.c @@ -0,0 +1,11 @@ +--- main/main.c.orig Sat Dec 10 09:36:39 2005 ++++ main/main.c Sat Dec 10 09:37:37 2005 +@@ -311,7 +311,7 @@ + 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", "12M", 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/lang/php53/files/patch-main_main.c b/lang/php53/files/patch-main_main.c new file mode 100644 index 000000000000..fdab9447de1d --- /dev/null +++ b/lang/php53/files/patch-main_main.c @@ -0,0 +1,11 @@ +--- main/main.c.orig Sat Dec 10 09:36:39 2005 ++++ main/main.c Sat Dec 10 09:37:37 2005 +@@ -311,7 +311,7 @@ + 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", "12M", PHP_INI_ALL, OnChangeMemoryLimit) + #endif + PHP_INI_ENTRY("precision", "14", PHP_INI_ALL, OnSetPrecision) + PHP_INI_ENTRY("sendmail_from", NULL, PHP_INI_ALL, NULL) |