找到apache的配置文件httpd.conf后找到 <IfModule dir_module> DirectoryIndex index.html index.php </IfModule> 红色字体代表后面添加的 index.php,