在Internet Explorer上打开php文件时出现问题 [英] Problem in opening php file on internet explorer

查看:141
本文介绍了在Internet Explorer上打开php文件时出现问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Internet Explorer上写了localhost/phpfile.php,它给出了未找到的网页:(
我还写了localhost/,它也给出了相同的消息,但是我的WAMP服务器处于联机状态.

i write localhost/phpfile.php on internet explorer and it gives webpage not found :(
i also write localhost/ and it also gives the same message but my WAMP server is online.

推荐答案

正如您提到的,您已经安装了Skype,默认情况下使用端口80 ,并且apache服务器默认情况下也使用端口80,因此您需要为这两个应用程序中的任何一个更改端口号.

您可以通过执行以下操作将Skype配置为使用其他端口:

In Skype go to Tools-->Connection options-->uncheck the option --> Use port 80 and 443 as alternatives for incoming connections.

之后,重新启动Skype并重新启动WAMP上的所有服务,然后重新启动浏览器中的页面.

如果您不想配置Skype,则可以更改端口号.的apache也是这样的:

As you mentioned that you have Skype installed which uses port 80 by default, and apache server also uses port 80 by default hence you need to change the port no for any of these two application.

You can configure Skype to use another port by doing the following:

In Skype go to Tools-->Connection options-->uncheck the option --> Use port 80 and 443 as alternatives for incoming connections.

After that restart Skype and Restart all services on WAMP, and then the page in your browser.

If you don''t want to configure the skype then you can change the port no. of apache as well like this:

Edit http.conf file in notepad usually located in C:\wamp\Apache2\conf .
then do either CTL+F or go to EDIT/FIND from the notepad menubar. this will open FIND window. type 80 in the 'Find What' box and click find next. replace 80 to whichever port(suppose i gave it 81) to want apache to listen to.



现在,重新启动wamp的所有服务.和浏览器地址类型 localhost:81/filename.php

希望对您有所帮助:)

有关更多查询,请在此处评论!



NOw restart all services of wamp. and browser address type localhost:81/filename.php

hope it helps :)

for further queries comment here!


这篇关于在Internet Explorer上打开php文件时出现问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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