问题描述
我已经在 Windows7(64 位)上安装了 xampp.我想使用 PHP、Apache 和 MySql.服务器 Apache 和 MySql 服务在 Xampp 控制面板上正常运行.但是当我在我的网络浏览器上运行 localhost 时,它只显示正在连接.没有其他的.与以前的环境相比,它在 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 上.你也可以使用 netstat -b 来查找服务的名称,但这需要 cmd 以管理员身份运行.最可能的罪魁祸首是在此端口上运行的其他一些服务不允许 Xampp 正常启动?你有像Skype这样的服务吗?如果是这样,这就是您无法访问特定页面的原因.您可以做的另一件事是进入 httpd.conf 并将监听更改为 80 以外的其他端口并进行测试.更改端口后不要忘记添加 localhost:your selected port测试一下.
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:网络浏览器不会显示本地主机页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!



大气响应式网络建站服务公司织梦模板
高端大气html5设计公司网站源码
织梦dede网页模板下载素材销售下载站平台(带会员中心带筛选)
财税代理公司注册代理记账网站织梦模板(带手机端)
成人高考自考在职研究生教育机构网站源码(带手机端)
高端HTML5响应式企业集团通用类网站织梦模板(自适应手机端)