Apache不会在Windows XP中的XAMPP上启动

时间:2013-06-08 22:34:20

标签: apache xampp

我已经安装了 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 . .    

有什么建议吗?

3 个答案:

答案 0 :(得分:2)

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

答案 1 :(得分:2)

我们必须下载 Microsoft Visual C ++ 2008 SP1可再发行组件包(x86),所以请转到以下链接并下载然后安装它。问题将得到解决。check this link

答案 2 :(得分:0)

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