aboutsummaryrefslogtreecommitdiffstats
path: root/lang/php4
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2005-12-10 16:42:56 +0800
committerale <ale@FreeBSD.org>2005-12-10 16:42:56 +0800
commit28cf266cda281ecdc186de66536711c1fe9bf087 (patch)
tree2e4c17114268cba93f190a03dde4e8b588c6e9da /lang/php4
parent4c610c932da050573936d2608fda83139b532297 (diff)
downloadfreebsd-ports-gnome-28cf266cda281ecdc186de66536711c1fe9bf087.tar.gz
freebsd-ports-gnome-28cf266cda281ecdc186de66536711c1fe9bf087.tar.zst
freebsd-ports-gnome-28cf266cda281ecdc186de66536711c1fe9bf087.zip
Raise default memory limit from 8M to 12M to let pear run well
on 64bit archs.
Diffstat (limited to 'lang/php4')
-rw-r--r--lang/php4/files/patch-main_main.c11
1 files changed, 11 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)