开发者

Apache, PHP, MYSQL on Windows 7

开发者 https://www.devze.com 2023-01-07 22:49 出处:网络
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

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.


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


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号