把apache的httpd.conf改成8080,不起作用。解决方法:清理注册表中的可以删除的apache的内容,删不了的就不删。重启!xampp就使用8080端口了,IIS就使用80端口了!
虽然在xampp-control的对话框中还是显示apache启动了80端口,其实那显示,实际的占用端口是8080。
1. I move the xampp whole directory to D:
2.the file d:\xampp\apache\conf\httpd.conf
maybe yours : C:\xampp\apache\conf\httpd.conf
I changed "listen 80" and "ServerName localhost:80"
to "listen 4498" and "ServerName localhost:4499"
3. run "regedit" , fine "apache" and del what you can del, left 2 directories can not del
4. Just run "xampp-control.exe" , everything is ok.
But ineresting , the texts showed in the xampp-control.exe window , still said:
"busy...
apache started [port 80]
LoL
before I wrote the article, I move xampp directory to desk top and to D:\ to make sure the solution works.
I think
apache the sentence of "started [port 80]" is wrote into apache's program,can not be change by what port you use.
ok, everybody , go ahead! Keep fun!

看完了要说点啥么?