You don't have permission to access /index.phpon this server.
Modify SELINUX, close SELINUX
1. View SELinux status command:
1. /usr/sbin/sestatus -v ##If the SELinux status parameter is enabled, it is the open state
SELinux status: enabled
2, getenforce ##You can also use this command to check
2. Turn off SELinux method:
1. Temporarily shut down (without restarting the machine):
copy code
code show as below:
setenforce 0
#Set SELinux to become permissive mode#setenforce 1 Set SELinux to become enforcing mode
2. Modifying the configuration file requires restarting the machine:
Modify the /etc/selinux/config file
Change SELINUX=enforcing to SELINUX=disabled
Just restart the machine