xampp 把apache mysql, php, phpmyadmin都integrate在一起, 很好安裝,操作簡單,但是也有弊端。 用戶沒有選項改port 當 知曉80被占用。
當80 port被占用,apache是安裝不上的,其實它所有的安裝文件都放過去了。 本想只想httpd.conf的port配置的。
發現居然這樣做不行。
okay, 沒問題,找其他的方法。
用cmd > netstat -aon | findstr 0.0.:80 enter
發現 PID 4 占用了80, 這是個system 進程, NT Kernal & System, 不能kill掉它,不然必將藍屏。
查找 哪些application 會調用NT Kernal & system
IIS is still running.SQL Server Reporting Services is running(this was my problem).Web Deployment Agent Service is running.services.msc enter,果真 SQL Server Reporting Services 是active的,stop it.re-install xampp, okay now.
當然除了 以上說的 NT Kernal 會占用端口,還有skype也會占用。
新聞熱點
疑難解答