logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Apache pages don't load after a short amount of time
Author
daveg



Joined: 21 Oct 2016
Posts: 5
Location: London

PostPosted: Fri 21 Oct '16 10:17    Post subject: Apache pages don't load after a short amount of time Reply with quote

Firstly, please forgive me if I am asking something stupid/obvious ! Newbie here..

I installed Apache/PHP/MySQL on a Windows 10 laptop the other day for a hobby project using this video https://www.youtube.com/watch?v=kuMTZowwjus .

I have set it up so the site can be accessed from the internet on port 80 using the domain name, but after a short amount of time something goes wrong and pages don't load. When this happens;

* I can still access/use the site from the laptop without any problems if I use localhost in the address bar.

* If I try accessing the site from the internet from another device, I can see the requests coming in to the laptop with wireshark.

* Restarting the Apache service fixes the problem straight away.

The Windows firewall is switched off. I can't see any obvious clues in the Windows event logs, or in the Apache error log.

Any advice ?
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3093
Location: Hilversum, NL, EU

PostPosted: Fri 21 Oct '16 10:51    Post subject: Reply with quote

The subject is not that inviting, see forum rules. Use meaningful, specific subject headers.

Using Apache 2.4 ?

Sure nothing in the Apache/php log ?

Running PHP as module ?

Tried as noted at https://www.apachelounge.com/viewtopic.php?t=7209 ?

AcceptFilter http none
AcceptFilter https none
EnableSendfile off
EnableMMAP off
Back to top
daveg



Joined: 21 Oct 2016
Posts: 5
Location: London

PostPosted: Sat 22 Oct '16 8:44    Post subject: Reply with quote

Thankyou! Adding these lines to the end of the Apache configuration file seems to have fixed the problem :

AcceptFilter http none
AcceptFilter https none
EnableSendfile off
EnableMMAP off

Smile
Back to top


Reply to topic   Topic: Apache pages don't load after a short amount of time View previous topic :: View next topic
Post new topic   Forum Index -> Apache