diff options
Diffstat (limited to 'server-tests.php')
-rwxr-xr-x | server-tests.php | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/server-tests.php b/server-tests.php index 8c2ae8607b..110147c21e 100755 --- a/server-tests.php +++ b/server-tests.php @@ -3,7 +3,7 @@ +----------------------------------------------------------------------+ | PHP Version 7 | +----------------------------------------------------------------------+ - | Copyright (c) 1997-2010 The PHP Group | + | Copyright (c) 1997-2015 The PHP Group | +----------------------------------------------------------------------+ | This source file is subject to version 3.01 of the PHP license, | | that is bundled with this package in the file LICENSE, and is | @@ -48,14 +48,6 @@ define('PCRE_MISSING_ERROR', | with --with-pcre-regex or if you have compiled pcre as a | | shared module load it via php.ini. | +-----------------------------------------------------------+'); -define('SAFE_MODE_WARNING', -'+-----------------------------------------------------------+ -| ! WARNING ! | -| You are running the test-suite with "safe_mode" ENABLED ! | -| | -| Chances are high that no test will work at all, | -| depending on how you configured "safe_mode" ! | -+-----------------------------------------------------------+'); define('TMP_MISSING', '+-----------------------------------------------------------+ | ! ERROR ! | @@ -456,7 +448,6 @@ class testHarness { 'output_handler'=>'', 'zlib.output_compression'=>'Off', 'open_basedir'=>'', - 'safe_mode'=>'0', 'disable_functions'=>'', 'output_buffering'=>'Off', 'error_reporting'=>'4095', @@ -736,7 +727,7 @@ class testHarness { } function checkRequirements() { - if (version_compare(phpversion(), "5.0") < 0) { + if (version_compare(phpversion(), "5.4") < 0) { $this->writemsg(REQ_PHP_VERSION); exit; } @@ -753,9 +744,6 @@ class testHarness { $this->writemsg(PCRE_MISSING_ERROR); exit; } - if (ini_get('safe_mode')) { - $this->writemsg(SAFE_MODE_WARNING); - } } // |