文件优化
This commit is contained in:
parent
995db21a7f
commit
a14ba238cf
7
.gitignore
vendored
7
.gitignore
vendored
@ -2,6 +2,9 @@
|
|||||||
/.vscode
|
/.vscode
|
||||||
/.gitee
|
/.gitee
|
||||||
*.log
|
*.log
|
||||||
|
*.env
|
||||||
|
*.lock
|
||||||
*.ini
|
*.ini
|
||||||
/.env
|
/runtime/*
|
||||||
/config/install.lock
|
/public/storage/*
|
||||||
|
/public/backup/*
|
||||||
|
15
README.md
15
README.md
@ -109,9 +109,10 @@ www 系统部署目录(或者子目录)
|
|||||||
进入目录
|
进入目录
|
||||||
cd gougucms
|
cd gougucms
|
||||||
|
|
||||||
下载PHP依赖包
|
下载PHP依赖包(composer的版本最好是2.0.8版本,否则可能下载PHP依赖包失败,composer降级:composer self-update 2.0.8)
|
||||||
composer install
|
composer install
|
||||||
|
|
||||||
|
|
||||||
添加虚拟主机并绑定到项目的public目录
|
添加虚拟主机并绑定到项目的public目录
|
||||||
|
|
||||||
访问 http://www.yoursite.com/install/index 进行安装
|
访问 http://www.yoursite.com/install/index 进行安装
|
||||||
@ -119,11 +120,13 @@ www 系统部署目录(或者子目录)
|
|||||||
|
|
||||||
### 常见问题
|
### 常见问题
|
||||||
|
|
||||||
1. 如果安装后打开页面提示404错误,请检查服务器伪静态配置,宝塔伪静态请配置使用thinkphp规则
|
1. 安装失败,可能存在php配置文件禁止了putenv 和 proc_open函数。解决方法,查找php.ini文件位置,打开php.ini,搜索 disable_functions 项,看是否禁用了putenv 和 proc_open函数。如果在禁用列表里,移除putenv proc_open然后退出,重启php即可。
|
||||||
2. 如果提示当前权限不足,无法写入配置文件config/database.php,请检查database.php是否可读,还有可能是当前安装程序无法访问父目录,请检查PHP的open_basedir配置
|
2. 如果安装后打开页面提示404错误,请检查服务器伪静态配置,宝塔伪静态请配置使用thinkphp规则
|
||||||
3. 如果composer install失败,请尝试在命令行进行切换配置到国内源,命令如下composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/
|
3. 如果提示当前权限不足,无法写入配置文件config/database.php,请检查database.php是否可读,还有可能是当前安装程序无法访问父目录,请检查PHP的open_basedir配置
|
||||||
4. 访问 http://www.yoursite.com/install/index ,请注意查看伪静态请配置是否设置了thinkphp规则
|
4. 如果composer install失败,请尝试在命令行进行切换配置到国内源,命令如下composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/
|
||||||
5. 遇到问题请到QQ群:24641076 反馈
|
5. 如果composer install失败,请尝试composer降级:composer self-update 2.0.8
|
||||||
|
6. 访问 http://www.yoursite.com/install/index,请注意查看伪静态请配置是否设置了thinkphp规则
|
||||||
|
7. 遇到问题请到QQ群:24641076 反馈
|
||||||
|
|
||||||
### 截图预览
|
### 截图预览
|
||||||

|

|
||||||
|
1424
composer.lock
generated
1424
composer.lock
generated
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user