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

View File

@@ -16,6 +16,7 @@ Complete PT website building solution. Based on NexusPHP + Laravel + Filament.
- Retroactive attendance card
- Medal
- Custom tags
- SeedBox rule
- Forum
- Complain
- Multi-language
@@ -26,7 +27,7 @@ Complete PT website building solution. Based on NexusPHP + Laravel + Filament.
- ....
## 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
- Redis2.0.0 or above

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 最新版或以上版本
- Redis2.0.0 或以上版本

View File

@@ -30,7 +30,7 @@ class Install
'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 = [
['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"],