From ebd0e986ed11f2a34fb58cdd33efbfab192083ad Mon Sep 17 00:00:00 2001 From: Till Brehm <tbrehm@ispconfig.org> Date: Fri, 22 Apr 2016 05:26:17 -0400 Subject: [PATCH] Added PHP 7 check in installer and updater. --- install/install.php | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/install/install.php b/install/install.php index 01c59bd..96c1425 100644 --- a/install/install.php +++ b/install/install.php @@ -102,6 +102,11 @@ 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); -- Gitblit v1.9.1