From 84eba5b76a38640637ca3cc0e319dc3be1f2a256 Mon Sep 17 00:00:00 2001 From: dayday <1252409767@qq.com> Date: Mon, 10 Aug 2020 11:55:02 +0800 Subject: [PATCH] Update install.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 推荐 php>=7.2 - 性能和稳定性提升 - 官方维护时间更长 --- docs/guide/install.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/guide/install.md b/docs/guide/install.md index 519c65a..e52638e 100644 --- a/docs/guide/install.md +++ b/docs/guide/install.md @@ -23,7 +23,7 @@ npm run build:test ## 后端 ```shell -# 环境依赖 php ^7.1 composer swoole +# 环境依赖 php ^7.2 composer swoole composer create-project hyperf/hyperf-skeleton hyperf-admin cd hyperf-admin # 移除日志配置, admin 底层已配置 @@ -66,7 +66,7 @@ LOCAL_DB_HOST=localhost // config/config.php 'password' => [ - 'salt' => env('HYPERF_ADMIN_PWD_SALT', 'c093d70f088499c3a837cae00c042f14'), + 'salt' => env('HYPERF_ADMIN_PWD_SALT', 'c093d70f088499c3a837cae00c042f14'), // 用 md5(time()) 获取 salt ], ``` @@ -80,7 +80,7 @@ upstream backend { server { listen 80; - server_name hyperf-admin.com; + server_name hyperf-admin.com; # 设置自己的 domain index index.html; root /opt/www/hyperf-admin-front/dist; access_log /usr/local/var/log/nginx/hyperf-admin.access.log;