From: Ilia Alshanetsky Date: Tue, 29 Oct 2002 15:59:19 +0000 (+0000) Subject: Allows pear installer to run un-harassed by safe_mode & open_basedir. X-Git-Tag: php-4.3.0RC1~449 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5b2388f946b425e1852d9bee02bfa901f73afc74;p=php Allows pear installer to run un-harassed by safe_mode & open_basedir. --- 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)/"