[Pkg-php-commits] [php/debian-sid] Disable memory limit in CLI, letting ulimit do its job (Closes: #407425)

Raphael Geissert geissert at debian.org
Fri Mar 12 00:01:39 UTC 2010


---
 debian/rules |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/debian/rules b/debian/rules
index cbed5e9..bc35618 100755
--- a/debian/rules
+++ b/debian/rules
@@ -416,7 +416,7 @@ install: build
 
 	# sanitize php.ini file
 	cat php.ini-production | tr "\t" " " | sed -e'/short_open_tag =/ s/Off/On/g' > debian/php5-common/usr/share/php5/php.ini-production
-	cat php.ini-production | tr "\t" " " | sed -e'/memory_limit =/ s/128M/32M/g;/short_open_tag =/ s/Off/On/g' > debian/php5-common/usr/share/php5/php.ini-production.cli
+	cat php.ini-production | tr "\t" " " | sed -e'/memory_limit =/ s/128M/-1/g;/short_open_tag =/ s/Off/On/g' > debian/php5-common/usr/share/php5/php.ini-production.cli
 	cat php.ini-production | tr "\t" " " > debian/php5-common/usr/share/doc/php5-common/examples/php.ini-production
 	cat php.ini-development | tr "\t" " " > debian/php5-common/usr/share/doc/php5-common/examples/php.ini-development
 	cp test-results.txt debian/php5-common/usr/share/doc/php5-common/
-- 
1.6.3.3




More information about the Pkg-php-commits mailing list