getenforce如果结果是Enforcing说明是开的
关闭:setenforce 0
关闭之后,访问php文件正常。
[root@backup conf]# getenforce
Enforcing
[root@backup conf]# setenforce 0
getenforce如果结果是Enforcing说明是开的
关闭:setenforce 0
关闭之后,访问php文件正常。
[root@backup conf]# getenforce
Enforcing
[root@backup conf]# setenforce 0