summaryrefslogtreecommitdiffstats
path: root/pear.sh
diff options
context:
space:
mode:
Diffstat (limited to 'pear.sh')
-rw-r--r--pear.sh14
1 files changed, 11 insertions, 3 deletions
diff --git a/pear.sh b/pear.sh
index f600f6d..36be863 100644
--- a/pear.sh
+++ b/pear.sh
@@ -1,4 +1,12 @@
#!/bin/sh
-export PHP_PEAR_SYSCONF_DIR=@CONFDIR@
-exec @BINDIR@/php -C -d include_path=@PEARDIR@ \
- -d output_buffering=1 @PEARDIR@/pearcmd.php "$@"
+exec /usr/bin/php -C -q \
+ -d include_path=/usr/share/pear \
+ -d date.timezone=UTC \
+ -d output_buffering=1 \
+ -d variables_order=EGPCS \
+ -d safe_mode=0 \
+ -d register_argc_argv="On" \
+ -d open_basedir="" \
+ -d auto_prepend_file="" \
+ -d auto_append_file="" \
+ /usr/share/pear/pearcmd.php "$@"