- 系统环境为centos7;
- web服务软件为:nginx;
- SELinux安全服务为开启状态,并且setenforce 值为enforcing,即强安全防护;
解决办法:
chcon -R -u system_u /xxx/
chcon -R -t usr_t /xxx/
xxx为server的root目录,你的网站目录
https://tecadmin.net/install-php-7-nginx-mysql-5-on-centos/
解决办法:
chcon -R -u system_u /xxx/
chcon -R -t usr_t /xxx/
xxx为server的root目录,你的网站目录
https://tecadmin.net/install-php-7-nginx-mysql-5-on-centos/