【问题标题】:Apache Server will not start on MAMPApache 服务器不会在 MAMP 上启动
【发布时间】:2020-02-06 08:17:53
【问题描述】:

我对此还是很陌生,所以请放轻松。当我单击 MAMP 时,apache 的灯会打开,然后关闭,但 mysql 将保持打开并工作。但是 localhost 无法工作,显示错误 "localhost denied to connect." 我在网上搜索并尝试将端口从80更改为默认的8888,但仍然无法正常工作。当我检查 MAMP/logs/apache_error 上的错误日志时,它会显示

[warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[warn] pid file C:/MAMP/bin/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[notice] Digest: generating secret for digest authentication ...
[notice] Digest: done

请帮忙,我使用的是 Windows 10,我是一个完整的新手

【问题讨论】:

    标签: apache windows-10 localhost mamp


    【解决方案1】:

    我遇到了同样的问题。 我已将 PHP 标准版本从 7.3.7 更改为 7.2.14 并重新启动。成功了。

    【讨论】:

    • 和我一样,安装了 MAMP,web start 拒绝连接,但是当我将 PHP 标准更改为 7.2.14 时,现在 web start 可以工作了。
    猜你喜欢
    • 2012-07-31
    • 2014-06-20
    • 2013-05-08
    • 2016-02-02
    • 2017-04-03
    • 2016-09-28
    • 1970-01-01
    • 2016-06-25
    • 2021-03-01
    相关资源
    最近更新 更多