第次安装xampp想不到这么简单软件Software还会这么折腾
为了让IIS和xampp同时在台机器 上使用并且IIS用80端口我试着修改xampp端口为非80端口并且在安装过程中xampp目录被我移动了很多次而且为了解决端口冲突问题下载了几个区别版本xampp现在说下问题和解决:
第次装了xampp在中文目录下面桌面上"webxampp" (xampp是绿色版所以解压了就用"发现启动xampp-controlapache时说80端口忙原来是skype占用了80端口就到skype选项中把这个占用去了再修改IIS端口为123这时间xampp可以正常使用
接着想把IIS端口再用80就把xamppapacheconfhttpd.conf中listen 80和ServerName localhost:80改成4499再移动xampp目录到D:根目录下重新 xampp结果xampp就说端口占用了然后下载区别版本xampp安装版绿色版都试了就是占用!火大了最后发现了解决方案:
由于多次安装所以要清理注册表中可以删除apache内容删不了就不删重启!xampp就使用4499端口了IIS就使用80端口了!
虽然在xampp-control对话框中还是显示apache启动了80端口其实那显示实际占用端口是4499
希望这个小文对大家有用!
1. I move the xampp whole directory to D:
2.the file d:xamppapacheconfhttpd.conf
maybe yours : C:xamppapacheconfhttpd.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 o apache's program,can not be change by what port you use.
ok, everybody , go ahead! Keep fun!
2009-10-14 at 23:34