XAMPP和IIS冲突。如果在没有安装XAMPP之前,已经安装了IIS的话,你会发现当你浏览器地址打开:http://localhost/时,你会进入的还IIS默认的管理页面,而且XAMPP也会提示80端口被占用。
如果你要将XAMPP与 IIS 共存的话,请把它们设置为不同端口。
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. That Holds it! When you begin XAMPP through the console, it will tell commencing
Apache on port 80. This is only a hardcoded position message it
exposes; the central piece is that you get a `` Run '' message through
the console. If you hold this all run as a service you can merely presume it Holds attending work - unless you check the console. Attend http: //localhost: 81 If all Holds goodly you 'll see the XAMPP Logotype; if not, check
you updated the configs to utilize ports that are not already in
employment. You can likewise see what apache conceives of your install:
Attend Start
& gt; Tally
& gt; type `` cmd
`` & gt; type `` cadmium C: xamppapachebin
`` & gt; type `` httpd
If Apache holds a job with one of the port configs it will say you.
Otherwise, if you make n't get a response and the window looks to be ``
hung '', apache IS run! Modify the Port Defaults
XAMPP account the incorrect values
Proof of the pudding - testing XAMPP