|
|
@ -44,15 +44,12 @@ $ini_checks = array(
|
|
|
|
'session.auto_start' => 0,
|
|
|
|
'session.auto_start' => 0,
|
|
|
|
'mbstring.func_overload' => 0,
|
|
|
|
'mbstring.func_overload' => 0,
|
|
|
|
'suhosin.session.encrypt' => 0,
|
|
|
|
'suhosin.session.encrypt' => 0,
|
|
|
|
'magic_quotes_runtime' => 0,
|
|
|
|
|
|
|
|
'magic_quotes_sybase' => 0,
|
|
|
|
|
|
|
|
);
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
$optional_checks = array(
|
|
|
|
$optional_checks = array(
|
|
|
|
// required for utils/modcss.inc, should we require this?
|
|
|
|
// required for utils/modcss.inc, should we require this?
|
|
|
|
'allow_url_fopen' => 1,
|
|
|
|
'allow_url_fopen' => 1,
|
|
|
|
'date.timezone' => '-VALID-',
|
|
|
|
'date.timezone' => '-VALID-',
|
|
|
|
'register_globals' => 0, // #1489157
|
|
|
|
|
|
|
|
);
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
$source_urls = array(
|
|
|
|
$source_urls = array(
|
|
|
@ -89,7 +86,7 @@ echo '<input type="hidden" name="_step" value="' . ($RCI->configured ? 3 : 2) .
|
|
|
|
<h3>Checking PHP version</h3>
|
|
|
|
<h3>Checking PHP version</h3>
|
|
|
|
<?php
|
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
|
|
define('MIN_PHP_VERSION', '5.3.7');
|
|
|
|
define('MIN_PHP_VERSION', '5.4.0');
|
|
|
|
if (version_compare(PHP_VERSION, MIN_PHP_VERSION, '>=')) {
|
|
|
|
if (version_compare(PHP_VERSION, MIN_PHP_VERSION, '>=')) {
|
|
|
|
$RCI->pass('Version', 'PHP ' . PHP_VERSION . ' detected');
|
|
|
|
$RCI->pass('Version', 'PHP ' . PHP_VERSION . ' detected');
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|