Unable to open WampServer's config file, please change path in index.php file

在设置完wampserver的自定义网站根目录后,在wamp面板上点击localhost或者在浏览器输入localhost会出现下图

修改index.php文件里的$server_dir = "../";

改成绝对地址$server_dir = "F:/wamp/";

$wampConfFile = $server_dir.'wampmanager.conf'; 这里就可以不用修改

 

posted on 2018-02-23 22:47  phany  阅读(566)  评论(0编辑  收藏  举报

导航