# 安装问题

1. 是否支持docker部署?

答:支持。请点击链接:https://gitee.com/beikeshop/docker (opens new window)
docker安装步骤请查看:Docker 安装

2. 使用小皮面板访问安装页面出现 Internal Server Error

答:请排查 /public/.htaccess文件内容是否是空的,如果是空的, 请将解压包里的 .htaccess 文件内容复制到空的包,再尝试安装。

3. 宝塔安装出现报错 Warning: file_exists(): open_basedir restriction in effect. File

答:进入宝塔后台-网站-设置-网站目录,把防跨站攻击✓给去掉,保存就可以了。

4. 访问安装页面 /install 出现 404

答:请检查伪静态规则是否正确。
(1)apache 请检查 /public/.htaccess, 如果该文件不存在则复制 /public/htaccess.txt/public/.htaccess
(2)Nginx 请检查相应的伪静态规则。

location / {

 try_files $uri $uri/ /index.php?$query_string;

}

5.执行 composer install 安装第三方包报错 laravel/horizon require ext-pcnel

答:Windows 不支持 队列控制台,可以用 composer install --ignore-platform-reqs 忽略平台参数。

6. 执行composer install遇到如下图所示错误

img img

答:删除禁用函数putenv、proc_open

7. 执行composer install遇到如下图所示错误

img

答:安装fileinfo扩展,安装后需要重启PHP

8. 出现如图所示错误

img

答:使用源码安装,需在代码根目录下执行composer install

9. 出现页面样式错误,如图所示

img

答:使用源码安装,需要编译代码,在代码根目录执行 npm install && npm run dev

10.出现如图所示错误

img

或者

img

答:修改storge目录权限为755或者777

11.安装系统填写完数据库信息并检索通过点击安装出现如图所示错误

img

或者

img

答:修改.env文件权限为755或者777

12. 系统安装完成后进入商城首页报500错误或者如图所示错误

img

或者

img

答:修改public目录权限为755或者777