Laravel 4:无法打开流:权限被拒绝

问题描述:

我在设置Laravel 4时遇到问题.打开索引页时出现此错误:

I'm having problem in setting up Laravel 4. I'm having this error when opening the index page:

file_put_contents(/Users/laravel/app/storage/meta/services.json)[function.file-put-contents]:
无法打开流:权限被拒绝.

file_put_contents(/Users/laravel/app/storage/meta/services.json) [function.file-put-contents]:
failed to open stream: Permission denied.

我在这里想念什么?

storage目录必须可由Web服务器用户写入.

The storage directory needs to be writable by the webserver user.