views:

37

answers:

3

What is the best (and easiest) way to set these up on Windows 7? I have tried Xampp and WAMP but all I get after installing them is a blank local host. So I create a php info file using the following code:

<?php
    phpinfo();
?>

Put it in the httpdocs folder, call it using http://localhost/info.php and I get a 404 file not found error. Even though I followed the typical install settings.

A: 

when you browse http://localhost/ what does it display?

Flakron Bytyqi
A blank page when I had Xampp but when I used Wamp Server it had "It Works!" displayed (without the quotation marks).
Anthony Keane
A: 

Are you by any chance running Skype in the background? Skype claims port 80 and port 443 as a firewall workaround. You can disable this in the advanced options -> connection.

This happens to me almost all the time I set up a new PC...

Strayer
A: 

The problem was not with either xampp or wamp. The problem was with the proxy that is installed where I was using the internet. It has blocked access to the localhost. Bypassing the proxy for localhost in Internet options -> Connections -> LAN Settings -> Proxy Server does not fix this for wireless so to access the webserver I have to disconnect from the network to what I need to do and then reconnect. The web server worked fine when I was on other non proxy networks.

Anthony Keane