环境:
ubuntu16.4
apache2
php5.6.30
mysql Ver 14.14 Distrib 5.7.17, for Linux (x86_64) using EditLine wrapper
开始:
遇到laravel的500错误。出现的问题无非以下几种,解决即可:
1.目录权限没有设置
需要设置storge目录的可写权限:chmod 777 -R storage
需要设置bootstrap/cache目录的可写权限:chmod 777 -R bootstrap/cache
参考文献: