summaryrefslogtreecommitdiff
path: root/pear
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2002-10-29 15:59:19 +0000
committerIlia Alshanetsky <iliaa@php.net>2002-10-29 15:59:19 +0000
commit5b2388f946b425e1852d9bee02bfa901f73afc74 (patch)
treeb1f1648c11e9d524fcebd8fea289574a080dd3e7 /pear
parent19820c0e83d4a98faf9b5882af48fb4f990df800 (diff)
downloadphp-git-5b2388f946b425e1852d9bee02bfa901f73afc74.tar.gz
Allows pear installer to run un-harassed by safe_mode & open_basedir.
Diffstat (limited to 'pear')
-rw-r--r--pear/Makefile.frag8
1 files changed, 6 insertions, 2 deletions
diff --git a/pear/Makefile.frag b/pear/Makefile.frag
index c7af45a3f0..8f32d874ff 100644
--- a/pear/Makefile.frag
+++ b/pear/Makefile.frag
@@ -52,11 +52,15 @@ peardir=$(PEAR_INSTALLDIR)
#PEARCMD=$(top_builddir)/sapi/cli/php -d include_path=$(top_srcdir)/pear pear/scripts/pear.in
+PEAR_INSTALL_FLAGS = \
+ -d 'safe_mode=0' \
+ -d 'open_basedir=' \
+
install-pear-installer: $(top_builddir)/sapi/cli/php
- @$(top_builddir)/sapi/cli/php $(srcdir)/install-pear.php $(srcdir)/package-*.xml
+ @$(top_builddir)/sapi/cli/php $(PEAR_INSTALL_FLAGS) $(srcdir)/install-pear.php $(srcdir)/package-*.xml
install-pear-packages: $(top_builddir)/sapi/cli/php
- @$(top_builddir)/sapi/cli/php $(srcdir)/install-pear.php $(srcdir)/packages/*.tar
+ @$(top_builddir)/sapi/cli/php $(PEAR_INSTALL_FLAGS) $(srcdir)/install-pear.php $(srcdir)/packages/*.tar
install-pear:
@echo "Installing PEAR environment: $(INSTALL_ROOT)$(peardir)/"