diff options
author | ale <ale@FreeBSD.org> | 2005-12-10 16:42:56 +0800 |
---|---|---|
committer | ale <ale@FreeBSD.org> | 2005-12-10 16:42:56 +0800 |
commit | 28cf266cda281ecdc186de66536711c1fe9bf087 (patch) | |
tree | 2e4c17114268cba93f190a03dde4e8b588c6e9da /lang/php4 | |
parent | 4c610c932da050573936d2608fda83139b532297 (diff) | |
download | freebsd-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.c | 11 |
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) |