com php-src: Don't read the local php.ini when Generating Phar When building phar shared, you can end up loading a previous phar.so that isn't
compatible with the php cli being used to generate Phar here.: ext/phar/Makefile.frag
| From: | Rasmus Lerdorf | Date: | Tue, 17 Feb 2015 02:28:32 +0000 |
| Subject: | com php-src: Don't read the local php.ini when Generating Phar When building phar shared, you can end up loading a previous phar.so that isn't compatible with the php cli being used to generate Phar here.: ext/phar/Makefile.frag |
||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-84938@lists.php.net to get a copy of this message | ||
Commit: a96de76753c578594a268bdad411e9eb2b78bb8f
Author: Rasmus Lerdorf <rasmus@lerdorf.com> Mon, 16 Feb 2015 18:28:32 -0800
Parents: 011eab104730a4aa63ec777204e02f31f0de9581
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=a96de76753c578594a268bdad411e9eb2b78bb8f
Log:
Don't read the local php.ini when Generating Phar
When building phar shared, you can end up loading
a previous phar.so that isn't compatible with the
php cli being used to generate Phar here.
Changed paths:
M ext/phar/Makefile.frag
Diff:
diff --git a/ext/phar/Makefile.frag b/ext/phar/Makefile.frag
index 6516ddf..e5d756f 100644
--- a/ext/phar/Makefile.frag
+++ b/ext/phar/Makefile.frag
@@ -3,7 +3,7 @@ $(srcdir)/phar_path_check.c: $(srcdir)/phar_path_check.re
pharcmd: $(builddir)/phar.php $(builddir)/phar.phar
-PHP_PHARCMD_SETTINGS = -d 'open_basedir=' -d 'output_buffering=0' -d
'memory_limit=-1' -d phar.readonly=0 -d 'safe_mode=0'
+PHP_PHARCMD_SETTINGS = -n -d 'open_basedir=' -d 'output_buffering=0' -d
'memory_limit=-1' -d phar.readonly=0 -d 'safe_mode=0'
PHP_PHARCMD_EXECUTABLE = ` \
if test -x "$(top_builddir)/$(SAPI_CLI_PATH)"; then \
$(top_srcdir)/build/shtool echo -n -- "$(top_builddir)/$(SAPI_CLI_PATH) -n"; \