diff --git a/install/install.php b/install/install.php index 01c59bd74379cd0806999e5be003d40ee4e05aeb..96c1425ac80b7a41dc37d316e6c05276fe7efa7f 100644 --- a/install/install.php +++ b/install/install.php @@ -102,6 +102,11 @@ $dist = get_distname(); if($dist['id'] == '') die('Linux distribution or version not recognized.'); +//** Check the PHP Version +if (version_compare(PHP_VERSION, '7.0.0') >= 0) { + die('PHP 7 is not supported by ISPConfig 3.0.5. Plesae use ISPConfig version 3.1 instead.'); +} + //** Include the autoinstaller configuration (for non-interactive setups) error_reporting(E_ALL ^ E_NOTICE); diff --git a/install/update.php b/install/update.php index 3eeedd0e74f8ec0e56d0204065dfd9af1b9cfc3e..a620c32d11f7a7bbe63b33eee937df9ffb380a96 100644 --- a/install/update.php +++ b/install/update.php @@ -107,6 +107,11 @@ unset($conf); if($dist['id'] == '') die('Linux distribution or version not recognized.'); +//** Check the PHP Version +if (version_compare(PHP_VERSION, '7.0.0') >= 0) { + die('PHP 7 is not supported by ISPConfig 3.0.5. Plesae use ISPConfig version 3.1 instead.'); +} + //** Include the autoinstaller configuration (for non-interactive setups) error_reporting(E_ALL ^ E_NOTICE);