Apache Port 80 Localhost hangs very often
Posted by: MCPTwilight (---.routit.net)
Date: August 16, 2013 11:45AM

Hi Everyone,

I Have installed Wamp. Wamp icon is green. phpmyadmin does work but it hangs a lot. the same thing when i view my php files in internet explorer, a lot of times it does not load my files, without producing errors. When it hangs and when i check port 80, the popup window does not say which program is using port 80. But for example when i check it a couple of minutes (or seconds) later, the window says apache is using port 80.
I had installed iis, but for as far as i know i removed everything of iis from my system.
Also a couple of months earlier i had made a asp.net website and served it to the internet with my own ip adres using iis. could this somehow be problematic? do I have to change back some setting?

Can someone help me with this problem? Thanx

I think the problem has somehow to do with localhost and port 80.

Options: ReplyQuote
Re: Apache Port 80 Localhost hangs very often
Posted by: RiggsFolly (---.ppp.as43234.net)
Date: August 16, 2013 12:37PM

Are you using IE10?

If so try this :-


Add these lines to you httpd.conf file. They can go anywhere in that file but not inside any <xxxx> blocks


AcceptFilter http none
AcceptFilter https none

Options: ReplyQuote
Re: Apache Port 80 Localhost hangs very often
Posted by: MCPTwilight (---.cm-6-2a.dynamic.ziggo.nl)
Date: August 16, 2013 03:44PM

no i am using ie 9. Does it apply for this version as well?

Options: ReplyQuote
Re: Apache Port 80 Localhost hangs very often
Posted by: MCPTwilight (---.cm-6-2a.dynamic.ziggo.nl)
Date: August 16, 2013 05:02PM

I have installed Wamp on my laptop, exact same issue, is it perhaps my isp that is causing the problem.

Options: ReplyQuote
Re: Apache Port 80 Localhost hangs very often
Posted by: RiggsFolly (---.ppp.as43234.net)
Date: August 16, 2013 05:17PM

No dont think it applies to IE9

If you are just developing locally then the ISP has no effect, you can disconnect from the internet and WAMP will still work.

Options: ReplyQuote
Re: Apache Port 80 Localhost hangs very often
Posted by: MCPTwilight (---.cm-6-2a.dynamic.ziggo.nl)
Date: August 18, 2013 08:28PM

I have installed 32 bit wamp instead of 64 bit i had earlier, stil same hanging error. I have installed both version of visual c++ redist, 32 and 64 bit.

Options: ReplyQuote
Re: Apache Port 80 Localhost hangs very often
Posted by: MCPTwilight (---.cm-6-2a.dynamic.ziggo.nl)
Date: August 18, 2013 08:46PM

I have also installed sql server 2012, could that be the problem?

Options: ReplyQuote
Re: Apache Port 80 Localhost hangs very often
Posted by: RiggsFolly (---.ppp.as43234.net)
Date: August 19, 2013 09:52AM

It sounds like Apache is crashing.

When it hangs and when i check port 80, the popup window does not say which program is using port 80. But for example when i check it a couple of minutes (or seconds) later, the window says apache is using port 80.

Have you checked Windows Event Viewer? Apache writes some errors there as well as the apache error log.

Is there anything in either of those places to give us a clue?

Options: ReplyQuote
Re: Apache Port 80 Localhost hangs very often
Posted by: MCPTwilight (---.cm-6-2a.dynamic.ziggo.nl)
Date: August 19, 2013 03:25PM

This is from the access.log from apache. But I don't think this will help, because this is logged when i DO get a connection with phpmyadmin.
127.0.0.1 - - [19/Aug/2013:14:11:15 +0100] "GET /phpmyadmin/ HTTP/1.1" 200 7535
127.0.0.1 - - [19/Aug/2013:14:11:15 +0100] "GET /phpmyadmin/js/get_scripts.js.php?scripts[]=jquery/jquery-1.8.3.js&scripts[]=ajax.js&scripts[]=keyhandler.js&scripts[]=jquery/jquery-ui-1.9.2.custom.js&scripts[]=jquery/jquery.sprintf.js&scripts[]=jquery/jquery.cookie.js&scripts[]=jquery/jquery.mousewheel.js&scripts[]=jquery/jquery.event.drag-2.2.js&scripts[]=jquery/jquery-ui-timepicker-addon.js&scripts[]=jquery/jquery.ba-hashchange-1.3.js&scripts[]=jquery/jquery.debounce-1.0.5.js&scripts[]=jquery/jquery.menuResizer-1.0.js&scripts[]=rte.js&scripts[]=functions.js&scripts[]=navigation.js&scripts[]=indexes.js&scripts[]=common.js&scripts[]=codemirror/lib/codemirror.js&scripts[]=codemirror/mode/mysql/mysql.js HTTP/1.1" 200 578569
127.0.0.1 - - [19/Aug/2013:14:11:15 +0100] "GET /phpmyadmin/phpmyadmin.css.php?server=1&token=26afb8204deaae80c4a620c54f2620d7&nocache=4120813817ltr HTTP/1.1" 200 88608
127.0.0.1 - - [19/Aug/2013:14:11:15 +0100] "GET /phpmyadmin/js/get_image.js.php?theme=pmahomme HTTP/1.1" 200 6263
127.0.0.1 - - [19/Aug/2013:14:11:15 +0100] "GET /phpmyadmin/js/messages.php?lang=nl&db=&server=0&token=00a98c08164185ca754c329d307c4308 HTTP/1.1" 200 18192
127.0.0.1 - - [19/Aug/2013:14:11:16 +0100] "GET /phpmyadmin/themes/svg_gradient.php?from=ffffff&to=cccccc HTTP/1.1" 200 487
127.0.0.1 - - [19/Aug/2013:14:11:19 +0100] "GET /phpmyadmin/themes/svg_gradient.php?from=cccccc&to=dddddd HTTP/1.1" 200 487
127.0.0.1 - - [19/Aug/2013:14:11:20 +0100] "POST /phpmyadmin/index.php HTTP/1.1" 302 -
127.0.0.1 - - [19/Aug/2013:14:11:20 +0100] "GET /phpmyadmin/index.php?token=26afb8204deaae80c4a620c54f2620d7 HTTP/1.1" 200 47417
127.0.0.1 - - [19/Aug/2013:14:11:21 +0100] "GET /phpmyadmin/phpmyadmin.css.php?server=1&token=26afb8204deaae80c4a620c54f2620d7&nocache=5497731697ltr HTTP/1.1" 200 88608
127.0.0.1 - - [19/Aug/2013:14:11:21 +0100] "GET /phpmyadmin/js/messages.php?lang=nl&db=&server=0&token=26afb8204deaae80c4a620c54f2620d7 HTTP/1.1" 200 18192
127.0.0.1 - - [19/Aug/2013:14:11:21 +0100] "GET /phpmyadmin/phpmyadmin.css.php?server=1&token=26afb8204deaae80c4a620c54f2620d7&nocache=5497731697ltr HTTP/1.1" 200 88608
127.0.0.1 - - [19/Aug/2013:14:11:21 +0100] "GET /phpmyadmin/js/messages.php?lang=nl&db=&server=0&token=26afb8204deaae80c4a620c54f2620d7 HTTP/1.1" 200 18192
127.0.0.1 - - [19/Aug/2013:14:11:22 +0100] "GET /phpmyadmin/themes/svg_gradient.php?from=ffffff&to=dcdcdc HTTP/1.1" 200 487
127.0.0.1 - - [19/Aug/2013:14:11:22 +0100] "GET /phpmyadmin/version_check.php?&_nocache=1376917882272128481 HTTP/1.1" 200 44

Where can i find logs of apache in windows event viewer, (i have dutch version of windows)

Options: ReplyQuote
Re: Apache Port 80 Localhost hangs very often
Posted by: MCPTwilight (---.cm-6-2a.dynamic.ziggo.nl)
Date: August 19, 2013 03:30PM

this is the install log:

Installing Apache HTTP Server 2.x with
DomainName = example.com
ServerName = www.example.com
ServerAdmin = admin@example.com
ServerPort = 80
ServerSslPort = 443
ServerRoot = c:/Apache24
Rewrote docs/conf/extra/httpd-autoindex.conf.in
to c:/Apache24/conf/original/extra/httpd-autoindex.conf
Rewrote docs/conf/extra/httpd-default.conf.in
to c:/Apache24/conf/original/extra/httpd-default.conf
Rewrote docs/conf/extra/httpd-ssl.conf.in
to c:/Apache24/conf/original/extra/httpd-ssl.conf
Rewrote docs/conf/extra/httpd-multilang-errordoc.conf.in
to c:/Apache24/conf/original/extra/httpd-multilang-errordoc.conf
Rewrote docs/conf/extra/httpd-info.conf.in
to c:/Apache24/conf/original/extra/httpd-info.conf
Rewrote docs/conf/extra/httpd-userdir.conf.in
to c:/Apache24/conf/original/extra/httpd-userdir.conf
Rewrote docs/conf/extra/httpd-mpm.conf.in
to c:/Apache24/conf/original/extra/httpd-mpm.conf
Rewrote docs/conf/httpd.conf.in
to c:/Apache24/conf/original/httpd.conf
Rewrote docs/conf/extra/proxy-html.conf.in
to c:/Apache24/conf/original/extra/proxy-html.conf
Rewrote docs/conf/extra/httpd-vhosts.conf.in
to c:/Apache24/conf/original/extra/httpd-vhosts.conf
Rewrote docs/conf/extra/httpd-dav.conf.in
to c:/Apache24/conf/original/extra/httpd-dav.conf
Rewrote docs/conf/extra/httpd-languages.conf.in
to c:/Apache24/conf/original/extra/httpd-languages.conf
Rewrote docs/conf/extra/httpd-manual.conf.in
to c:/Apache24/conf/original/extra/httpd-manual.conf
Duplicated c:/Apache24/conf/original/extra/httpd-autoindex.conf
to c:/Apache24/conf/extra/httpd-autoindex.conf
Duplicated c:/Apache24/conf/original/extra/httpd-default.conf
to c:/Apache24/conf/extra/httpd-default.conf
Duplicated c:/Apache24/conf/original/extra/httpd-ssl.conf
to c:/Apache24/conf/extra/httpd-ssl.conf
Duplicated c:/Apache24/conf/original/extra/httpd-multilang-errordoc.conf
to c:/Apache24/conf/extra/httpd-multilang-errordoc.conf
Duplicated c:/Apache24/conf/original/extra/httpd-info.conf
to c:/Apache24/conf/extra/httpd-info.conf
Duplicated c:/Apache24/conf/original/extra/httpd-userdir.conf
to c:/Apache24/conf/extra/httpd-userdir.conf
Duplicated c:/Apache24/conf/original/extra/httpd-mpm.conf
to c:/Apache24/conf/extra/httpd-mpm.conf
Duplicated c:/Apache24/conf/original/httpd.conf
to c:/Apache24/conf/httpd.conf
Duplicated c:/Apache24/conf/original/magic
to c:/Apache24/conf/magic
Duplicated c:/Apache24/conf/original/charset.conv
to c:/Apache24/conf/charset.conv
Duplicated c:/Apache24/conf/original/extra/proxy-html.conf
to c:/Apache24/conf/extra/proxy-html.conf
Duplicated c:/Apache24/conf/original/extra/httpd-vhosts.conf
to c:/Apache24/conf/extra/httpd-vhosts.conf
Duplicated c:/Apache24/conf/original/extra/httpd-dav.conf
to c:/Apache24/conf/extra/httpd-dav.conf
Duplicated c:/Apache24/conf/original/mime.types
to c:/Apache24/conf/mime.types
Duplicated c:/Apache24/conf/original/extra/httpd-languages.conf
to c:/Apache24/conf/extra/httpd-languages.conf
Duplicated c:/Apache24/conf/original/extra/httpd-manual.conf
to c:/Apache24/conf/extra/httpd-manual.conf

Options: ReplyQuote
Re: Apache Port 80 Localhost hangs very often
Posted by: MCPTwilight (---.cm-6-2a.dynamic.ziggo.nl)
Date: August 19, 2013 03:42PM

hehe, the right log now: (apache_error.log)
[Mon Aug 19 14:08:47.971112 2013] [mpm_winnt:notice] [pid 3516:tid 436] AH00455: Apache/2.4.4 (Win32) PHP/5.4.16 configured -- resuming normal operations
[Mon Aug 19 14:08:47.971112 2013] [mpm_winnt:notice] [pid 3516:tid 436] AH00456: Server built: Feb 23 2013 13:07:34
[Mon Aug 19 14:08:47.971112 2013] [core:notice] [pid 3516:tid 436] AH00094: Command line: 'c:\\wamp\\bin\\apache\\apache2.4.4\\bin\\httpd.exe -d C:/wamp/bin/apache/Apache2.4.4'
[Mon Aug 19 14:08:47.973112 2013] [mpm_winnt:notice] [pid 3516:tid 436] AH00418: Parent: Created child process 2452
[Mon Aug 19 14:08:48.430138 2013] [mpm_winnt:notice] [pid 2452:tid 312] AH00354: Child: Starting 150 worker threads.
[Mon Aug 19 14:10:00.644269 2013] [mpm_winnt:warn] [pid 2452:tid 1584] (OS 64)De opgegeven netwerknaam is niet langer beschikbaar. : AH00341: winnt_accept: Asynchronous AcceptEx failed.

Options: ReplyQuote
Re: Apache Port 80 Localhost hangs very often
Posted by: RiggsFolly (---.ppp.as43234.net)
Date: August 19, 2013 03:58PM

Was ist das in English

De opgegeven netwerknaam is niet langer beschikbaar.

I see your probably problem now. You have tried to install Apache as a standalone before trying WAMP.

Uninstall the other Apache and make sure the Apache service is removed. Wamps name for Apache is wampapache.

Options: ReplyQuote
Re: Apache Port 80 Localhost hangs very often
Posted by: MCPTwilight (---.cm-6-2a.dynamic.ziggo.nl)
Date: August 19, 2013 04:15PM

AcceptFilter http none
AcceptFilter https none
EnableSendfile off
EnableMMAP off

Id added this to the apache file , and it helps.

Options: ReplyQuote


Sorry, only registered users may post in this forum.