diff options
-rw-r--r-- | check_setup.php | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/check_setup.php b/check_setup.php index 46260ff1..a2ad30db 100644 --- a/check_setup.php +++ b/check_setup.php @@ -1,8 +1,8 @@ <?php // PHP 5.3 minimum -if (version_compare(PHP_VERSION, '5.3.7', '<')) { - die('This software require PHP 5.3.7 minimum'); +if (version_compare(PHP_VERSION, '5.3.3', '<')) { + die('This software require PHP 5.3.3 minimum'); } // Short tags must be enabled for PHP < 5.4 @@ -13,11 +13,16 @@ if (version_compare(PHP_VERSION, '5.4.0', '<')) { } } -// Check PDO Sqlite +// Check extension: PDO Sqlite if (! extension_loaded('pdo_sqlite')) { die('PHP extension required: pdo_sqlite'); } +// Check extension: mbstring +if (! extension_loaded('mbstring')) { + die('PHP extension required: mbstring'); +} + // Check if /data is writeable if (! is_writable('data')) { die('The directory "data" must be writeable by your web server user'); |