【问题标题】:Apache & MySQL aren't working on xampp control panelApache 和 MySQL 无法在 xampp 控制面板上运行
【发布时间】:2014-05-01 16:36:59
【问题描述】:

我在我的 PC 上安装了 xampp,但无法从 xampp 控制面板启动 Apache 和 MySQL。总是出现这个错误:

Error: Apache shutdown unexpectedly.

这可能是由于端口被阻塞、缺少依赖项、 不正确的权限、崩溃或通过其他方法关闭。 按日志按钮查看错误日志并检查 Windows 事件查看器以获取更多线索 如果您需要更多帮助,请复制并发布此内容 论坛上的整个日志窗口

我尝试了一切解决它,也改变了端口,但没有任何帮助,这个错误总是出现。

这里是apache日志错误:

[ssl:warn] [pid 4560:tid 704] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[ssl:warn] [pid 4560:tid 704] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[mpm_winnt:notice] [pid 4560:tid 704] AH00455: Apache/2.4.7 (Win32) OpenSSL/1.0.1e PHP/5.5.9 configured -- resuming normal operations
[mpm_winnt:notice] [pid 4560:tid 704] AH00456: Apache Lounge VC11 Server built: Nov 21 2013 20:13:01
[core:notice] [pid 4560:tid 704] AH00094: Command line: 'C:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[mpm_winnt:notice] [pid 4560:tid 704] AH00418: Parent: Created child process 6128
[ssl:warn] [pid 6128:tid 600] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[ssl:warn] [pid 6128:tid 600] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[mpm_winnt:crit] [pid 6128:tid 600] (OS 109)‏‏פעולת הצינור הסתיימה.  : AH00404: Child: Unable to read socket data from parent
[mpm_winnt:crit] [pid 4560:tid 704] AH00427: Parent: child process 6128 exited with status 3 -- Aborting.

请帮帮我,这是一个严重的问题。

【问题讨论】:

    标签: php mysql sql apache ssl


    【解决方案1】:

    解决方案可能是取消选中TCP/IP 协议设置(在 WINS 设置下)中的“Enable LMHOSTS Lookup”框。以下是执行此操作的步骤:

    1. 打开“控制面板”,然后打开“网络连接”。
    2. 右键单击“本地连接”并选择“属性”。
    3. 双击“Internet 协议 (TCP/IP)”行打开 “属性。”
    4. 在“常规”选项卡上,单击“高级”按钮。
    5. 选择“WINS”选项卡并取消选中“启用 LMHOSTS 查找”框。”

    http://www.jennyconnors.com/computers/installing-apache2-and-the-wsasocket-failed-to-open-the-inherited-socket-error

    【讨论】:

    • 只检查windows防火墙是否阻塞?
    • Windows 防火墙已禁用。
    • 在不同于现在配置的端口上配置 apache(可能默认为 80)服务名称]删除服务..
    • 我已经尝试在 80 以外的其他端口上配置 apache,但它也没有帮助。 “将 apache 安装为服务”是什么意思?如何检查它是否作为服务安装?
    • 13:15:57 [Apache] 检测到问题! 13:15:57 [Apache] PID 4 的“无法打开进程”正在使用端口 80! 13:15:57 [Apache] 如果没有配置的免费端口,Apache 将无法启动! 13:15:57 [Apache] 您需要卸载/禁用/重新配置阻塞应用程序 13:15:57 [Apache] 或重新配置 Apache 和控制面板以侦听不同的端口
    猜你喜欢
    • 2020-03-06
    • 2021-11-15
    • 2014-06-19
    • 2013-12-30
    • 2014-12-30
    • 2015-12-22
    • 2018-05-24
    • 2017-03-01
    • 2021-12-28
    相关资源
    最近更新 更多