打开wamp/www/index.php 搜索is_dir($file) 在上图光标位置输入 “localhost/” 刷新localhost页面即可打开 转载于:https://www.cnblogs.com/sontan/p/7171808.html