summaryrefslogtreecommitdiff
path: root/lang/php4/files/patch-pear::scripts::pearcmd.php
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2005-11-16 08:24:47 +0000
committerAlex Dupre <ale@FreeBSD.org>2005-11-16 08:24:47 +0000
commit730fa7041892af367bccd5ae3790e3648899fe86 (patch)
tree42191ea10608db13e09b77b411ecd79855c72611 /lang/php4/files/patch-pear::scripts::pearcmd.php
parent- Update master site (diff)
- Fix pear pkg-plist
- Increase pear memory limit (requested by amd64) - Revert apache2handler to the latest working version found in PHP 4.4.0, since PHP developers seem not interested in fixing the bug with apache2 and mod_rewrite
Notes
Notes: svn path=/head/; revision=148439
Diffstat (limited to 'lang/php4/files/patch-pear::scripts::pearcmd.php')
-rw-r--r--lang/php4/files/patch-pear::scripts::pearcmd.php11
1 files changed, 6 insertions, 5 deletions
diff --git a/lang/php4/files/patch-pear::scripts::pearcmd.php b/lang/php4/files/patch-pear::scripts::pearcmd.php
index e7397d32e05d..b3b74f72f147 100644
--- a/lang/php4/files/patch-pear::scripts::pearcmd.php
+++ b/lang/php4/files/patch-pear::scripts::pearcmd.php
@@ -1,11 +1,11 @@
---- pear/scripts/pearcmd.php.orig Fri May 16 17:31:37 2003
-+++ pear/scripts/pearcmd.php Fri May 16 17:36:10 2003
+--- pear/scripts/pearcmd.php.orig Mon Mar 28 18:57:01 2005
++++ pear/scripts/pearcmd.php Tue Nov 15 23:25:55 2005
@@ -1,3 +1,4 @@
+#!%%PREFIX%%/bin/php -nq
<?php
//
// +----------------------------------------------------------------------+
-@@ -24,9 +25,9 @@
+@@ -24,9 +25,10 @@
/**
* @nodep Gtk
*/
@@ -15,6 +15,7 @@
+dl('pcre.so');
+dl('xml.so');
+ini_set('include_path', '%%PREFIX%%/share/pear:%%PREFIX%%/share/pear/bootstrap');
++ini_set('memory_limit', '16M');
ini_set('allow_url_fopen', true);
- set_time_limit(0);
- ob_implicit_flush(true);
+ if (!ini_get('safe_mode')) {
+ @set_time_limit(0);