您的位置:首页 > 编程语言 > PHP开发

学习laravel遇到的问题

2015-12-07 23:03 706 查看
1.今天学习使用form的组件,首先使用composer命令来引入:

composer require illuminate/html

接着在blog/config/app.php中的两个地方添加内容:

Illuminate\Html\HtmlServiceProvider::class,

'Form'      => Illuminate\Html\FormFacade::class,

(这里有详细描述:https://laravist.com/article/14)

接着正常访问,我就报错了,事实上在这之前我已经吧blog/storage的权限已经777了

ErrorException in Filesystem.php line 81:

file_put_contents(/www/html/laravel/html/blog/bootstrap/cache/services.json): failed to open stream: Permission denied

chmod -R 777 bootstrap/cache/


地址:http://stackoverflow.com/questions/23540083/failed-to-open-stream-permission-denied-error-laravel

[/code]

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: