From b1e2683aef5e8d96963b80d557f084abdc5e4588 Mon Sep 17 00:00:00 2001 From: atshike Date: Mon, 6 Jan 2025 09:24:09 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E5=90=AF=E7=94=A8=E5=87=BD=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Controllers/Install/IndexController.php | 4 ++++ serve/resources/views/install/step2.blade.php | 24 +++++++++++++++++-- 2 files changed, 26 insertions(+), 2 deletions(-) diff --git a/serve/app/Http/Controllers/Install/IndexController.php b/serve/app/Http/Controllers/Install/IndexController.php index fcb4667..36bb121 100644 --- a/serve/app/Http/Controllers/Install/IndexController.php +++ b/serve/app/Http/Controllers/Install/IndexController.php @@ -186,6 +186,10 @@ class IndexController extends Controller 'pdo_mysql' => extension_loaded('pdo_mysql') ? '✓' : '×', 'curl' => extension_loaded('curl') ? '✓' : '×', 'gd2' => extension_loaded('gd') ? '✓' : '×', + 'fileinfo' => extension_loaded('fileinfo') ? '✓' : '×', + 'putenv' => function_exists('putenv') ? '✓' : '×', + 'symlink' => function_exists('symlink') ? '✓' : '×', + 'proc_open' => function_exists('proc_open') ? '✓' : '×', 'log' => File::isWritable(storage_path('logs')) ? '✓' : '×', 'upload' => File::isWritable(storage_path('app')) ? '✓' : '×', 'cache' => File::isWritable(storage_path('framework')) ? '✓' : '×', diff --git a/serve/resources/views/install/step2.blade.php b/serve/resources/views/install/step2.blade.php index dc36dde..c7fa753 100644 --- a/serve/resources/views/install/step2.blade.php +++ b/serve/resources/views/install/step2.blade.php @@ -106,7 +106,7 @@ PHP版本 - 大于7.2 + ≥8.1 {!! $chk['php_version'] !!} @@ -124,12 +124,32 @@ 支持 {!! $chk['gd2'] !!} + + fileinfo + 支持 + {!! $chk['fileinfo'] !!} + + + putenv + 支持 + {!! $chk['putenv'] !!} + + + symlink + 支持 + {!! $chk['symlink'] !!} + + + proc_open + 支持 + {!! $chk['proc_open'] !!} +
- 系统要求安装目录下的runtime和upload必须可写,才能使用系统的所有功能。 + 系统要求安装目录下的storage必须可写,才能使用系统的所有功能。