【问题标题】:How do I test httpd.conf on my Windows?如何在我的 Windows 上测试 httpd.conf?
【发布时间】:2015-09-27 01:07:53
【问题描述】:

不同的网站对这个问题给出了不同的答案,但我认为它们都适用于 linux。 http://httpd.apache.org/docs/2.2/programs/apachectl.html 给了我一个有用的工具,但这不能在我的命令提示符下使用(下图)。

感谢您的回答。

【问题讨论】:

    标签: windows apache2.4


    【解决方案1】:

    在 Windows 上,使用以下命令测试配置:

    httpd.exe -t
    

    【讨论】:

    • 在 bin 目录中找不到 V7 的文件。
    • 我不知道这里的“V7”是什么意思,但问题是关于 Windows 上的 Apache 2.4。
    猜你喜欢
    • 1970-01-01
    • 2014-08-11
    • 2015-07-06
    • 2020-10-31
    • 1970-01-01
    • 2020-03-23
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多