Forum Moderators: phranque
I am trying to install Apache2.2.8 (I have also tried 2.2.6 & XAMPP) but when I try the local test (http:/localhost/) it just times out. I have followed the instructions in O'Reilly's Learning PHP & MySQL to the letter (basically following the install wizard and using 'localhost' & 'localhost' in the Network_Domain & Server_Name respectively and choosing HTTP server 2.0 programs for All Users.
I am running Windows XP Home SP2 (fully up to date).
I have tried disabling my Firewall and even disconnecting from the internet but all to no avail.
I have checked 'netstat - anb' and the only thing that is listening on port 80 is httpd.exe which I imagine is Apache.
As an aside httpd is 'listening' but the local address is 0.0.0.0:80? I thought setting the Network Domain & Server Name to 'localhost' should have set that to be 127.0.0.1:80 - no?
Any help would be much appreciated - this is driving me mad.
Regards.
Patrick
How is your Listen [httpd.apache.org] directive set?
I have since upgraded to XP Pro, deinstalled and re-installed Apache having made sure nothing else is running and nothing is on port 80.
I have checked and tickled the httpd.conf file entries that have been pointed out to me ....
ServerRoot "C:/Program Files/Apache Software Foundation/Apache2.2"
Listen 127.0.0.1:80
ServerName localhost
DocumentRoot "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs"
<Directory "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs">
.... and I think they are ok, but still the problem persists.
It seems to be conflicting with IE in some way as I seem to be getting 'page not found' quite a lot after trying to find my local host but that might be coincidence.
The only other thing that I can see that looks curious is on the netstat log I get ...
TCP [httpd.exe] Local 127.0.0.1:80 Foreign 127.0.0.1:1058 (this port varies) Established
TCP [iexplorer] 127.0.0.1:1058 (port always matches previous entry) Foreign 127.0.0.1:80 Established
No Apache error log - last entry is "[Tue Feb 05 22:35:27 2008] [notice] Child 3188: Starting thread to listen on port 80.".
Please help - literally going mad.
Patrick.