什么可能会导致Windows 7下的WAMP 101错误?

我一直在使用WAMP进行本地开发已经有一段时间了,但是最近我在浏览本地主机的网站时遇到了错误101消息。 在最后的WAMP更新之后有可能出现这种情况,但我并不十分确定这一点。 如果我一次又一次地尝试,几页刷新后,它的作品,但它真的很烦人!

确切的错误信息是:

Error 101 (net::ERR_CONNECTION_RESET): Unknown error. 

这是我的configuration:

  • 操作系统:Windows 7
  • Apache:2.2.11
  • PHP:5.2.9-2
  • WAMP:2.0

而且本地脚本连接到远程MySQL服务器,他们不使用本地MySQL(我不知道是否重要,只是我让你知道)。

我一直在寻找Apache日志,我发现以下。 看来,Apache服务器不断重启,我不明白为什么:

 [Wed Oct 14 13:52:30 2009] [notice] Parent: child process exited with status 255 -- Restarting. [Wed Oct 14 13:52:30 2009] [notice] Apache/2.2.11 (Win32) PHP/5.2.9-2 configured -- resuming normal operations [Wed Oct 14 13:52:30 2009] [notice] Server built: Dec 10 2008 00:10:06 [Wed Oct 14 13:52:30 2009] [notice] Parent: Created child process 6784 [Wed Oct 14 13:52:31 2009] [notice] Child 6784: Child process is running [Wed Oct 14 13:52:31 2009] [notice] Child 6784: Acquired the start mutex. [Wed Oct 14 13:52:31 2009] [notice] Child 6784: Starting 64 worker threads. [Wed Oct 14 13:52:31 2009] [notice] Child 6784: Starting thread to listen on port 80. [Wed Oct 14 13:52:32 2009] [notice] Parent: child process exited with status 255 -- Restarting. [Wed Oct 14 13:52:33 2009] [notice] Apache/2.2.11 (Win32) PHP/5.2.9-2 configured -- resuming normal operations [Wed Oct 14 13:52:33 2009] [notice] Server built: Dec 10 2008 00:10:06 [Wed Oct 14 13:52:33 2009] [notice] Parent: Created child process 3572 [Wed Oct 14 13:52:33 2009] [notice] Child 3572: Child process is running [Wed Oct 14 13:52:33 2009] [notice] Child 3572: Acquired the start mutex. [Wed Oct 14 13:52:33 2009] [notice] Child 3572: Starting 64 worker threads. [Wed Oct 14 13:52:33 2009] [notice] Child 3572: Starting thread to listen on port 80. 

此外,我已经检查了Windows防火墙,并禁用了我在这台电脑上没有任何改进的任何其他保护。

谢谢!

我有同样的问题。

  • 操作系统:Windows 7
  • 服务器:Apache 2.2.17-win32
  • MySQL:5.1.53-win32
  • PHP:5.2.14-Win32

C:/<MySQL Dir>/bin/libMySQL.dllreplaceC:/<MySQL Dir>/bin/libMySQL.dll C:/PHP/libmysql.dll解决了我的问题。

当您尝试使用mysql_connect连接到数据库时,会发生此错误。 它显示在上面的错误日志中的以下行中。

 [Wed Oct 14 13:52:32 2009] [notice] Parent: child process exited with status 255 -- Restarting. 

因此,当mysql_connect尝试连接时,Apache崩溃。 所以使用正确的libmysql.dll在这里是有帮助的。

我遇到了非常像这样的东西—但是我的configuration除了PHP之外还包含了Drupal。 所以对于你Drupal的人,我会build议检查一个函数recursion调用自己。

就我而言,我试图将Drupal安装从一台机器移到另一台机器。 旧系统启用了Log4Drupal,并将其configuration为写入新计算机上不存在的驱动器和文件夹上的日志文件。 据我所知,日志function试图报告一些事情,当它失败时,它试图logging失败等等。

要解决这个问题,查看数据库并找出Log4Drupal使用的文件是非常有用的。 MySQL查询是“select * fromvariables名称,如'log%'”。 我创build了所需的所有文件夹,使这条path很好。 然后我的Drupal系统就可以启动了,我可以使用Log4Drupal的pipe理页面。

我有同样的问题。

您应该使用连接资源closures页面代码末尾的连接。 这对我工作:

 mysql_close($conn); 

其中$conn是你用来连接MySQL数据库的MySQL数据库连接资源variables。

在Windows 7上, WampServer 2.1 + Chrome 15.0 + Eclipse PDT(SDK 2.1.1,运行时2.1.3)也遇到同样的问题。

我解决了它:

  • 安装最新版本的WampServer(2.2D 32位)
  • closuresEclipse,Chrome,停止WampServer,然后重新打开/重新启动所有的东西

似乎是由于一个XDebug错误 (修复): http : //bugs.xdebug.org/view.php?id = 410

连接重置必须由win7防火墙完成,您必须打开Windows防火墙(只需将其键入打开的开始菜单,它将出现),并明确允许端口80.我希望它可以帮助。

我遇到了这个问题,并没有对导致错误的答案,

为我工作,禁用de mysqli扩展。 Wamp像往常一样工作(缓慢的xdebug),但phpmyadmin失去了很多的function。