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

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

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

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

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

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

 

相关文章:

  • 2021-12-13
  • 2021-06-29
  • 2022-12-23
  • 2022-12-23
  • 2021-08-11
猜你喜欢
  • 2022-12-23
  • 2021-10-17
  • 2021-12-05
  • 2021-07-31
  • 2021-07-25
  • 2021-12-22
  • 2021-10-17
相关资源
相似解决方案