CentOS 7.3 部署Laravel,storage目录775之后仍然权限错误

in laravel •  7 years ago 

之前用阿里云服务器,好像没啥问题,直接按照我之前教程上就可以,这次用微软云服务器,踩到一个坑。

已经设置目录权限为775还是提示不可写

需要:

vim /etc/selinux/config
# 找到:
SELINUX=enforcing;
# 改成
SELINUX=enabled;

The end.

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!