微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

连接重置在wamp上

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

The connection was reset

我已经经历了很多答案,如https://serverfault.com/questions/74313/what-c​​ould-cause-an-101-error-in-wamp-under-windows-7

他们都在说closuresMysqL_close($connect); 。 我的Apache错误日志显示了我

[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.

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

将jar作为Linux服务运行 – init.d脚本被启动应用程序卡住了

Nginx的“auto.dev”设置不会正确加载wordpress

如何将本地主机redirect到127.0.0.1:8080?

在运行Apache服务器时无法访问http:// localhost:80

Nginx localhost在浏览器中下载PHP文件,而不是服务于他们?

我使用os:window 7. Apache : 2.2.17,PHP:5.3.4,MysqL : 5.1.53

微小的networking – 不能让PHP.exe返回数据

如何设置web根目录并隐藏app.PHP和app_dev.PHP在本地主机使用xampp和apache?

如何通过防火墙允许特定的IP?

lockingnetworking应用程序只适用于Intranet

通过本地主机运行代理服务器

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

经过几个小时的反复试验,我终于偶然发现了另外一个帖子: https : //drupal.org/node/1597820 ,它解决了我的问题。

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

<Ifmodulee mpm_winnt_module> ThreadStackSize 8388608 </Ifmodulee>

我经历了这个错误很多次,我的解决方案是增加apache二进制文件(apache.exe或httpd.exe)的堆栈大小。 你将需要Visual Studio来做到这一点,但你可以像我一样使用试用版。 你甚至不需要打开它。 该命令是:

C:Program Files (x86)Microsoft Visual Studio 10.0VCbinamd64>editbin /STACK:8000000 "c:Program Files (x86)WAMPapachebinapache.exe"

当然根据你的环境改变路径。

在Visual Studio目录中,VC / binary /有几个实用程序,名称为editbin.exe。 使用适合你的平台或者一个一个地尝试,直到它工作(像我一样)。

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。

相关推荐