diff --git a/install-dev/init.php b/install-dev/init.php index 69c0d27c0..32bc9b02b 100644 --- a/install-dev/init.php +++ b/install-dev/init.php @@ -26,8 +26,8 @@ */ // Check PHP version -if (version_compare(PHP_VERSION, '5.1', '<')) - die('You need at least PHP 5.1 to run PrestaShop. Your current PHP version is '.PHP_VERSION); +if (version_compare(PHP_VERSION, '5.1.2', '<')) + die('You need at least PHP 5.1.2 to run PrestaShop. Your current PHP version is '.PHP_VERSION); // Generate common constants define('PS_INSTALLATION_IN_PROGRESS', true);