Laravel 4: Failed to open stream: Permission denied

前端 未结 6 1841
南笙
南笙 2020-12-02 09:37

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/ser

6条回答
  •  余生分开走
    2020-12-02 09:49

    Just ran into this problem on centos 7. The blocker wasn't folder permissions, rather it was selinux policy blocking nginx/php to access /var/www. So, if the above doesn't work, try disabling selinux as a test to see if you can re-run composer without any permission issues.

提交回复
热议问题