1

我已经安装了Xampp并试图启动 apache 服务器,但它不起作用。当我单击XAMPP 控制面板上的开始按钮时,会出现以下消息:

 4:24:48 AM  [Apache]   Attempting to start Apache app...
 4:24:49 AM  [Apache]   Status change detected: running
 4:24:49 AM  [Apache]   Status change detected: stopped
 4:24:49 AM  [Apache]   Error: Apache shutdown unexpectedly.
 4:24:49 AM  [Apache]   This may be due to a blocked port, missing dependencies, 
 4:24:49 AM  [Apache]   improper privileges, a crash, or a shutdown by another method.
 4:24:49 AM  [Apache]   Check the "/xampp/apache/logs/error.log" file
 4:24:49 AM  [Apache]   and the Windows Event Viewer for more clues
 4:25:15 AM  [main]     Executing "d:\xampp\apache"

如果我用批处理文件很好地尝试它,它会给我这个错误:

 Diese Eingabeforderung nicht waehrend des Running beenden
 Bitte erst bei einem gewollten Shutdown schliessen
 Please close this command only for Shutdown
 Apache 2 is starting ...

 httpd.exe: Syntax error on line 452 of D:/xampp/apache/conf/httpd.conf: Syntax e
 rror on line 17 of D:/xampp/apache/conf/extra/httpd-xampp.conf: Cannot load /xam
 pp/php/php5ts.dll into server: This application has failed to start because the
 application configuration is incorrect. Reinstalling the application may fix thi
 s problem.

 Apache konnte nicht gestartet werden
 Apache could not be started
 Press any key to continue . .    

有什么建议吗?

4

3 回答 3

2

卸载它并重新安装。但是在重新安装期间检查启动xampp和您想要的任何其他服务这将自动为您启动服务它发生在我身上但是在win7上当端口80被其他服务使用时会发生这种情况操作系统尝试在重新安装之前停止所有服务.

于 2013-06-08T22:39:34.443 回答
2

我们必须下载Microsoft Visual C++ 2008 SP1 Redistributable Package (x86)所以去下面的链接下载然后安装它。问题将得到解决。检查这个链接

于 2013-07-19T22:36:12.293 回答
0

这可能与您的情况无关,但 Apache 在我的 PC 上失败的最常见原因是我忘记事先关闭 Skype。它使用相同的 80 端口。

于 2013-06-08T22:39:08.140 回答