<Directory />
Options +Indexes +FollowSymLinks +ExecCGI
AllowOverride All
Order allow,deny
Allow from all
# Require all granted
</Directory>找到配置文件,然后将Require all granted注释掉,这样开放全部权限可以解决问题。
PS:如果我们没有能力手动配置还是用一键包。
<Directory />
Options +Indexes +FollowSymLinks +ExecCGI
AllowOverride All
Order allow,deny
Allow from all
# Require all granted
</Directory>