mirror of
https://github.com/php/php-src.git
synced 2025-08-18 15:08:55 +02:00
Fixed more ini settings.
# Derick. Be responsible to your change and opinion. # These are settings I know that should be set. # There may be other settingis must be set to make # run-tests.php work as expected.
This commit is contained in:
parent
0998fcd804
commit
1fb8331fc0
2 changed files with 3 additions and 2 deletions
|
@ -50,7 +50,7 @@ test: $(SAPI_CLI_PATH)
|
|||
@TEST_PHP_EXECUTABLE=$(top_builddir)/$(SAPI_CLI_PATH) \
|
||||
TEST_PHP_SRCDIR=$(top_srcdir) \
|
||||
CC=$(CC) \
|
||||
$(top_builddir)/$(SAPI_CLI_PATH) -d 'open_basedir=' -d 'safe_mode=0' $(top_srcdir)/run-tests.php $(TESTS)
|
||||
$(top_builddir)/$(SAPI_CLI_PATH) -d 'open_basedir=' -d 'safe_mode=0' -d 'safe_mode=0' -d 'output_buffering=Off' -d 'auto_prepend_file=' -d 'auto_append_file=' -d 'output_handler=' -d 'register_argv=1' -d 'disable_functions=' $(top_srcdir)/run-tests.php $(TESTS)
|
||||
|
||||
clean:
|
||||
find . -name \*.lo -o -name \*.o | xargs rm -f
|
||||
|
|
|
@ -44,8 +44,9 @@ if (getenv('TEST_PHP_SRCDIR')) {
|
|||
|
||||
$cwd = getcwd();
|
||||
set_time_limit(0);
|
||||
ob_implicit_flush();
|
||||
error_reporting(E_ALL);
|
||||
ini_set('magic_quotes_runtime', 0);
|
||||
ini_set('memory_limit', '8M');
|
||||
|
||||
if (ini_get('safe_mode')) {
|
||||
echo <<< SAFE_MODE_WARNING
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue