From 4fb1379afa65a471cc02caf7eb593c3aeb7db120 Mon Sep 17 00:00:00 2001 From: F4nniu Date: Wed, 20 Jul 2022 22:49:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=9C=A8=E7=BA=BF=E5=AE=89?= =?UTF-8?q?=E8=A3=85=20php=20=E7=89=88=E6=9C=AC=E8=A6=81=E6=B1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/admin/command/Install.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/admin/command/Install.php b/application/admin/command/Install.php index a61f2f0c..ec68f942 100644 --- a/application/admin/command/Install.php +++ b/application/admin/command/Install.php @@ -309,8 +309,8 @@ class Install extends Command //数据库配置文件 $dbConfigFile = APP_PATH . 'database.php'; - if (version_compare(PHP_VERSION, '7.1.0', '<')) { - throw new Exception(__("The current version %s is too low, please use PHP 7.1 or higher", PHP_VERSION)); + if (version_compare(PHP_VERSION, '7.2.0', '<')) { + throw new Exception(__("The current version %s is too low, please use PHP 7.2 or higher", PHP_VERSION)); } if (!extension_loaded("PDO")) { throw new Exception(__("PDO is not currently installed and cannot be installed"));