安装完laravel,启动完后报 ErrorException (E_WARNING) file_put_contents(/www/wwwroot/blog/storage…错误,是因为权限原因导致访问出错,
解决办法:
1.执行命令 php artisan cache:clear
2. 赋予 /storage 文件夹读写权限: chmod -R 777 storage;
Laravel 报错 file_put_contents(): failed to open stream......解决
最新推荐文章于 2023-05-18 14:40:06 发布