require php gmp ext

This commit is contained in:
xiaomlove
2022-07-23 15:08:16 +08:00
parent 42bf8f0467
commit 50965e1419
3 changed files with 5 additions and 3 deletions
+2 -1
View File
@@ -16,6 +16,7 @@ Complete PT website building solution. Based on NexusPHP + Laravel + Filament.
- Retroactive attendance card - Retroactive attendance card
- Medal - Medal
- Custom tags - Custom tags
- SeedBox rule
- Forum - Forum
- Complain - Complain
- Multi-language - Multi-language
@@ -26,7 +27,7 @@ Complete PT website building solution. Based on NexusPHP + Laravel + Filament.
- .... - ....
## System Requirements ## System Requirements
- PHP: 8.0, must have extensions: bcmath, ctype, curl, fileinfo, json, mbstring, openssl, pdo_mysql, tokenizer, xml, mysqli, gd, redis, pcntl, sockets, posix - PHP: 8.0, must have extensions: bcmath, ctype, curl, fileinfo, json, mbstring, openssl, pdo_mysql, tokenizer, xml, mysqli, gd, redis, pcntl, sockets, posix, gmp
- Mysql: 5.7 latest version or above - Mysql: 5.7 latest version or above
- Redis2.0.0 or above - Redis2.0.0 or above
+2 -1
View File
@@ -15,6 +15,7 @@
- 补签卡 - 补签卡
- 勋章 - 勋章
- 自定义标签 - 自定义标签
- 盒子规则
- 论坛 - 论坛
- 申诉 - 申诉
- 多语言 - 多语言
@@ -25,7 +26,7 @@
- .... - ....
## 系统要求 ## 系统要求
- PHP: 8.0,必须扩展:bcmath, ctype, curl, fileinfo, json, mbstring, openssl, pdo_mysql, tokenizer, xml, mysqli, gd, redis, pcntl, sockets, posix - PHP: 8.0,必须扩展:bcmath, ctype, curl, fileinfo, json, mbstring, openssl, pdo_mysql, tokenizer, xml, mysqli, gd, redis, pcntl, sockets, posix, gmp
- Mysql: 5.7 最新版或以上版本 - Mysql: 5.7 最新版或以上版本
- Redis2.0.0 或以上版本 - Redis2.0.0 或以上版本
+1 -1
View File
@@ -30,7 +30,7 @@ class Install
'REDIS_HOST', 'REDIS_PORT', 'REDIS_DB', 'REDIS_PASSWORD', 'REDIS_HOST', 'REDIS_PORT', 'REDIS_DB', 'REDIS_PASSWORD',
]; ];
protected array $requiredExtensions = ['ctype', 'curl', 'fileinfo', 'json', 'mbstring', 'openssl', 'pdo_mysql', 'tokenizer', 'xml', 'mysqli', 'bcmath', 'redis', 'gd', ]; protected array $requiredExtensions = ['ctype', 'curl', 'fileinfo', 'json', 'mbstring', 'openssl', 'pdo_mysql', 'tokenizer', 'xml', 'mysqli', 'bcmath', 'redis', 'gd', 'gmp'];
protected array $optionalExtensions = [ protected array $optionalExtensions = [
['name' => 'pcntl', 'desc' => "If use Octane and 'Current' showing 0, make sure it's on php -m"], ['name' => 'pcntl', 'desc' => "If use Octane and 'Current' showing 0, make sure it's on php -m"],
['name' => 'posix', 'desc' => "If use Octane and 'Current' showing 0, make sure it's on php -m"], ['name' => 'posix', 'desc' => "If use Octane and 'Current' showing 0, make sure it's on php -m"],