XAMPP:Web浏览器不会显示本地主机页面 [英] Xampp: web browser won't show the localhost page

查看:193
本文介绍了XAMPP:Web浏览器不会显示本地主机页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经安装了Windows7的上(64位)XAMPP。我要使用PHP,Apache和MySQL工作。
服务器Apache和MySQL的服务XAMPP的控制面板上的正常运行。
但是,当我在我的网页浏览器上运行本地主机它只是显示连接。没有其他的。相较于previous环境将其与IIS运行良好。

I have installed xampp on Windows7(64bit).I want to work with PHP, Apache and MySql. The server Apache and the MySql services are running properly on the Xampp control panel. But when I run the localhost on my web browser it just shows connecting. Nothing else. Compare to previous enviroment it runs well with IIS.

推荐答案

试着做你的CMD一个netstat的-a,看看是否有这些端口80.You运行的其他服务还可以用netstat -b找到该服务的名称,然而,这需要cmd命令以管理员身份运行。最有可能的罪魁祸首是,有此端口不容许Xampp时正常启动运行一些其他的服务呢?你有没有像Skype这样的服务。如果这样的原因你无法访问特定网页。你可以做一个另一件事情就是去到httpd.conf中,改变听80以外其他端口并测试它out.Dont忘记添加本地主机:您选择的端口一旦更改端口来测试它。

Try doing a netstat -a on your cmd and see if there are any other services which are running on port 80.You can also use netstat -b to find the name of the service however this requires cmd to be run as administrator. The most likely culprit is that there are some other services running on this port which do not allow Xampp to start up properly? Do you have a service like skype . If so that is the reason your not able to access particular page. An other thing you can do is to go into httpd.conf and change the listen to some other port other than 80 and test it out.Dont forget to add localhost:your selected port once you change the port to test it out.

这篇关于XAMPP:Web浏览器不会显示本地主机页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆