装了IIS之后打开localhost,老是IIS的那个恶心图标,怎么办

1,不修改XAMPP的web默认端口,
使用地址 http://localhost/xampp/index.php

2,修改XAMPP的默认端口,
具体看这篇文章
http://blog.csdn.net/dodo_yin/article/details/5755917

By default IIS employs ports 80 and 443 for HTTP and HTTPS entree severally. By default, Apache too presumes these scenes. By changing two config files in Apache you can easily reverse this:

For the design of this article I 'll presume you installled XAMPP to the default location.


Edit file C:xamppapacheconfhttpd.conf
Alteration line 63 to:
Listen *: 81
this gets apache listening to all IP addresses on port 81 ( you likelily make n't ask the star but I maked for safeties sake. You could too alter to another port of selection,e.g. 8080 )
Alteration line 175 to:
ServerName localhost: 81
Again - if you took another port, update witht that. Salvage the file and last.
Edit file C:xamppapacheconfextrahttpd-ssl.conf
Edit line 42 to:
Listen 442
This alters the SSL ( HTTPS ) port to 442 ( or again, your port of selection ).

原文地址:https://www.cnblogs.com/fickleness/p/3129351.html