美文网首页
Centos搭建LNMP环境部署laralvel项目遇到的坑

Centos搭建LNMP环境部署laralvel项目遇到的坑

作者: curioust | 来源:发表于2018-01-13 22:36 被阅读0次
  1. 报错信息
The stream or file "/home/www/startLaravel/storage/logs/laravel.log" could not be opened: failed to open stream: Permission denied

解决方式,原文链接https://stackoverflow.com/questions/17954625/services-json-failed-to-open-stream-permission-denied-in-laravel-4


在项目根目录下,输入下面俩个命令行,ok

find storage -type d -exec chmod 777 {} \;

find storage -type f -exec chmod 777 {} \;

  1. 不能被域名解析,防火墙的原因
service iptables stop
  1. Laravel与larvel不是一个目录的,有区别的。

相关文章

网友评论

      本文标题:Centos搭建LNMP环境部署laralvel项目遇到的坑

      本文链接:https://www.haomeiwen.com/subject/beyhoxtx.html