]> granicus.if.org Git - php/commitdiff
- No need to load any php.ini here
authorJani Taskinen <jani@php.net>
Tue, 5 Aug 2008 16:25:31 +0000 (16:25 +0000)
committerJani Taskinen <jani@php.net>
Tue, 5 Aug 2008 16:25:31 +0000 (16:25 +0000)
run-tests.php

index fb18e017ebcc1431c3969d5ca7873e706e23c941..2addebf4c28c27aff78b471e6b137863f2876469 100755 (executable)
@@ -231,7 +231,7 @@ More .INIs  : " , (function_exists(\'php_ini_scanned_files\') ? str_replace("\n"
        settings2array($ini_overwrites, $info_params);
        settings2params($info_params);
        $php_info = `$php $pass_options $info_params "$info_file"`;
-       define('TESTED_PHP_VERSION', `$php -r "echo PHP_VERSION;"`);
+       define('TESTED_PHP_VERSION', `$php -n -r "echo PHP_VERSION;"`);
 
        if ($php_cgi && $php != $php_cgi) {
                $php_info_cgi = `$php_cgi $pass_options $info_params -q "$info_file"`;