且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

wamp 服务器无法启动:Windows 7, 64Bit

更新时间:2021-08-08 23:11:12

我解决该问题的解决方案如下:

My solution to fix that problem was the following:

开始>搜索>cmd.exe(以管理员身份运行)

Start > search > cmd.exe (Run as administrator)

在命令提示符 (cmd.exe) 中输入:

Inside the Command Prompt (cmd.exe) type:

cd c:/wamp/bin/apache/ApacheX.X.X/bin
httpd.exe -e debug

**注意 ApacheX.X.X 是运行的 Apache wamp 版本.

**Note that the ApacheX.X.X is the version of the Apache wamp is running.

这应该输出 apache 服务器正在做什么.导致 Apache 加载的错误应该在那里.我的问题是 httpd.conf 试图加载一个丢失或损坏的 DLL (php5apache2_4.dll).一旦我覆盖了这个文件,我就重新启动了 Wamp,一切都运行得很顺利.

This should output what the apache server is doing. The error that causes Apache from loading should be in there. My problem was that httpd.conf was trying to load a DLL that was missing or was corrupted (php5apache2_4.dll). As soon as I overwrote this file, I restarted Wamp and everything ran smooth.