连接在WAMP上重置 [英] The connection was reset on wamp

查看:65
本文介绍了连接在WAMP上重置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在我的电脑上安装了wamp服务器.然后,我安装了一个zend应用程序.我将其放在www目录的 medaffiliate.com 目录中.当我通过localhost/medaffiliate.com访问该目录时,它仅显示

I have installed wamp server on my pc. Then I have installed a zend application. I put it in the medaffiliate.com directory in www directory. When I access that directory by localhost/medaffiliate.com it just shows

 The connection was reset

我经历了很多喜欢的回答 https://serverfault.com/questions/74313/在Windows 7下为什么会导致101错误的沼泽

I have gone through many answers likes https://serverfault.com/questions/74313/what-could-cause-an-101-error-in-wamp-under-windows-7

他们都说要关闭mysql_close($connect);.我的Apache错误日志显示了我

They are all saying about closing mysql_close($connect);. My Apache error log shows me

     [Sat Jul 21 18:35:45 2012] [notice] Parent: child process exited with status 255 -- Restarting.
[Sat Jul 21 18:35:45 2012] [notice] Apache/2.2.17 (Win32) PHP/5.3.4 configured -- resuming normal operations
[Sat Jul 21 18:35:45 2012] [notice] Server built: Oct 24 2010 13:33:15
[Sat Jul 21 18:35:45 2012] [notice] Parent: Created child process 6768
[Sat Jul 21 18:35:45 2012] [notice] Child 6768: Child process is running
[Sat Jul 21 18:35:45 2012] [notice] Child 6768: Acquired the start mutex.
[Sat Jul 21 18:35:45 2012] [notice] Child 6768: Starting 64 worker threads.
[Sat Jul 21 18:35:45 2012] [notice] Child 6768: Starting thread to listen on port 80.
[Sat Jul 21 18:36:21 2012] [notice] Parent: child process exited with status 255 -- Restarting.
[Sat Jul 21 18:36:21 2012] [notice] Apache/2.2.17 (Win32) PHP/5.3.4 configured -- resuming normal operations
[Sat Jul 21 18:36:21 2012] [notice] Server built: Oct 24 2010 13:33:15
[Sat Jul 21 18:36:21 2012] [notice] Parent: Created child process 1140
[Sat Jul 21 18:36:21 2012] [notice] Child 1140: Child process is running
[Sat Jul 21 18:36:21 2012] [notice] Child 1140: Acquired the start mutex.
[Sat Jul 21 18:36:21 2012] [notice] Child 1140: Starting 64 worker threads.
[Sat Jul 21 18:36:21 2012] [notice] Child 1140: Starting thread to listen on port 80.
[Sat Jul 21 18:40:39 2012] [notice] Parent: child process exited with status 255 -- Restarting.
[Sat Jul 21 18:40:39 2012] [notice] Apache/2.2.17 (Win32) PHP/5.3.4 configured -- resuming normal operations
[Sat Jul 21 18:40:39 2012] [notice] Server built: Oct 24 2010 13:33:15
[Sat Jul 21 18:40:39 2012] [notice] Parent: Created child process 7892
[Sat Jul 21 18:40:39 2012] [notice] Child 7892: Child process is running
[Sat Jul 21 18:40:39 2012] [notice] Child 7892: Acquired the start mutex.
[Sat Jul 21 18:40:39 2012] [notice] Child 7892: Starting 64 worker threads.
[Sat Jul 21 18:40:39 2012] [notice] Child 7892: Starting thread to listen on port 80.

我发现其他人在与数据库建立连接时面临此类问题.我在www目录上创建了另一个项目,并与数据库建立了连接.这是工作.但不是我的项目.

I have found other persons who are facing such problem when they create connection with database. I have created an other project on my www directory and make a connection with database. It is working. But not my project.

我正在使用os:window 7. Apache : 2.2.17, PHP:5.3.4, Mysql : 5.1.53

推荐答案

我有一个类似的问题,无法通过增加超时和内存限制来解决.

I had a similar problem that I could not fix by increasing timeouts and memory limits.

经过数小时的反复试验,我终于偶然发现了另一篇文章: https://drupal.org/node/1597820 ,为我解决了这个问题.

After many hours of trial and error, I finally stumbled upon this other post: https://drupal.org/node/1597820, which solved the issue for me.

在httpd.conf的末尾添加以下内容,以将Apache堆栈大小增加到8MB.

Add the following to the end of httpd.conf to increase the Apache stack size to 8MB.

<IfModule mpm_winnt_module>
   ThreadStackSize 8388608
</IfModule>

这篇关于连接在WAMP上重置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆