]> granicus.if.org Git - php/commitdiff
Don't read the local php.ini when Generating Phar
authorRasmus Lerdorf <rasmus@lerdorf.com>
Tue, 17 Feb 2015 02:28:32 +0000 (18:28 -0800)
committerRasmus Lerdorf <rasmus@lerdorf.com>
Tue, 17 Feb 2015 02:28:32 +0000 (18:28 -0800)
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

index 6516ddfabddc1201e442379533c0611d2c1c3915..e5d756fa161f7f653da4022768fcc3f07899ddaf 100644 (file)
@@ -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"; \