Home >Backend Development >PHP Tutorial >关于xampp与iis冲突解决办法

关于xampp与iis冲突解决办法

WBOY
WBOYOriginal
2016-06-13 10:10:101129browse

关于xampp与iis冲突
我的iis应该是visual stutdio 安装的组件。、
我安装了xampp,也没有改变80端口,但是iis的SERVER_NAME也为localhost。

print_r($_SERVER)的结果是,

  [SERVER_NAME] => 127.1.1.1
  [SERVER_ADDR] => 127.1.1.1
  [SERVER_PORT] => 80
  [REMOTE_ADDR] => 127.0.0.1
  [DOCUMENT_ROOT] => D:/xampp/htdocs
  [SERVER_ADMIN] => [email protected]

求解,我怎么可以设置xampp的localhost名称。不与iis冲突,

------解决方案--------------------
IIS 如果不用,在计算机管理里关闭之不就可以了么....

另外,其实主要冲突的还是端口,只要吧IIS改到其他端口去就行了...

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn