找到apache-httpd 的配置文件conf/httpd.conf后找到
<IfModule dir_module>
DirectoryIndex index.html index.php
</IfModule>
<IfModule dir_module>
DirectoryIndex index.html index.php
</IfModule>
在其中添加index.php
重启apache-httpd即可
在其中添加index.php
重启apache-httpd即可