XAMPP错误:启动Apache服务时遇到错误(Apache Shutdown意外)

时间:2020-01-22 07:54:34

标签: apache xampp

我正在尝试从Xampp启动apache,但每次都遇到下面的错误消息。我尝试了所有方法,例如更改端口,重新安装Xampp等,但没有任何效果。

Checking default ports...
12:45:22 pm  [Apache]   Attempting to start Apache app...
12:45:22 pm  [Apache]   Executing "c:\xampp\apache\bin\httpd.exe"
12:45:22 pm  [Apache]   Return code: 0
12:45:22 pm  [Apache]   Status change detected: running
12:45:25 pm  [Apache]   Status change detected: stopped
12:45:25 pm  [Apache]   Error: Apache shutdown unexpectedly.
12:45:25 pm  [Apache]   This may be due to a blocked port, missing dependencies, 
12:45:25 pm  [Apache]   improper privileges, a crash, or a shutdown by another method.
12:45:25 pm  [Apache]   Press the Logs button to view error logs and check
12:45:25 pm  [Apache]   the Windows Event Viewer for more clues
12:45:25 pm  [Apache]   If you need more help, copy and post this
12:45:25 pm  [Apache]   entire log window on the forums

以下是apache error.log文件

  [Wed Jan 22 12:45:23.946765 2020] [core:warn] [pid 9960:tid 592] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
  [Wed Jan 22 12:45:24.003613 2020] [mpm_winnt:notice] [pid 9960:tid 592] AH00455: Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.4.1 configured -- resuming normal operations
  [Wed Jan 22 12:45:24.003613 2020] [mpm_winnt:notice] [pid 9960:tid 592] AH00456: Apache Lounge VC15 Server built: Aug 11 2019 12:20:04
  [Wed Jan 22 12:45:24.003613 2020] [core:notice] [pid 9960:tid 592] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
  [Wed Jan 22 12:45:24.015583 2020] [mpm_winnt:notice] [pid 9960:tid 592] AH00418: Parent: Created child process 8008
  [Wed Jan 22 12:45:24.600416 2020] [mpm_winnt:crit] [pid 8008:tid 4] (OS 109)The pipe has been ended.  : AH00404: Child: Unable to read socket data from parent

请帮助我解决这个问题

1 个答案:

答案 0 :(得分:0)

您尝试过吗?

编辑>首选项>共享VMS>禁用共享->然后将端口更改为例如8443并保存更改->重新启动xampp