简体   繁体   English

Apache和MySQL在xampp控制面板上不起作用

[英]Apache & MySQL aren't working on xampp control panel

I installed xampp on my PC but can't start Apache & MySQL from xampp control panel. 我在计算机上安装了xampp,但无法从xampp控制面板启动Apache和MySQL。 This error always appears: 总是出现此错误:

Error: Apache shutdown unexpectedly.

This may be due to a blocked port, missing dependencies, improper privileges, a crash, or a shutdown by another method. 这可能是由于端口阻塞,缺少依赖项,权限不正确,崩溃或其他方法关闭引起的。 Press the Logs button to view error logs and check the Windows Event Viewer for more clues If you need more help, copy and post this entire log window on the forums 按下“日志”按钮以查看错误日志,并检查Windows事件查看器以获取更多线索。如果您需要更多帮助,请在论坛上复制并发布整个日志窗口。

I tried everything to solve it, and also changed the port but nothing helped, this error always appears. 我尽一切努力解决了该问题,并且更改了端口,但没有任何帮助,此错误始终出现。

Here is the apache log error: 这是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.

Please help me, this is a serious problem. 请帮助我,这是一个严重的问题。

The solution could be to uncheck the “ Enable LMHOSTS Lookup ” box in the TCP/IP protocol setup (under WINS setting). 解决方案可能是取消选中TCP/IP协议设置(在WINS设置下)中的“ Enable LMHOSTS Lookup ”框。 Here are the steps to do this: 这是执行此操作的步骤:

  1. Open “Control Panel” then “Network Connections.” 打开“控制面板”,然后打开“网络连接”。
  2. Right-click on “Local Area Connection” and select “Properties.” 右键单击“本地连接”,然后选择“属性”。
  3. Double-click on the “Internet Protocol (TCP/IP)” line to open the “Properties.” 双击“ Internet协议(TCP / IP)”行以打开“属性”。
  4. On the “General” tab, click the “Advanced” button. 在“常规”选项卡上,单击“高级”按钮。
  5. Select the “WINS” tab and uncheck the “Enable LMHOSTS Lookup” box.” 选择“ WINS”选项卡,然后取消选中“启用LMHOSTS查找”框。”

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM