安装 WAMP 时出错。橙色图标。图标错误说错误 APACHE 变量
Sorry,
There is an error.
Unable to find the Apache variables.
There may be a syntax error in httpd.conf.
To be checked by the tool integrated in Wampserver:
Right-click -> Tools -> Check httpd.conf syntax.
Press ENTER to continue...
这是命令提示符中显示的内容。有什么帮助吗?
如果您在 httpd-vhosts.conf 文件中编辑了 DocumentROOT 和 Directory,则可能会发生这种情况。当我在路径中使用反斜杠时,它发生在我身上。使用正斜杠代替它们后,它对我来说效果很好