yahoo
2008-11-07, 07:50 PM
xampp安装apache的80端口的冲突问题的解决:
第一次安装xampp,想不到这么简单的软件还会这么折腾
为了让IIS和xampp同时在一台机器 上使用,并且IIS用80端口,我试着修改xampp的端口为非80端口,并且在安装过程中,xampp的目录被我移动了很多次,而且为了解决端口冲突问题,下载了几个不同版本的xampp,现在说下问题和解决:
第一次装了xampp在中文目录下面,桌面上的"web程序\xampp" ,(因为xampp是绿色版,所以解压了就用",发现启动xampp-control的apache时说80端口忙,原来是skype占用了80端口,就到skype的选项中把这个占用去了,再修改IIS的端口为123,这时间xampp可以正常使用。
接着想把IIS的端口再用80,就把xampp的apache\conf\httpd.conf中的listen 80和ServerName localhost:80改成4499,再移动xampp目录到D:根目录下,重新install 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:\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!
第一次安装xampp,想不到这么简单的软件还会这么折腾
为了让IIS和xampp同时在一台机器 上使用,并且IIS用80端口,我试着修改xampp的端口为非80端口,并且在安装过程中,xampp的目录被我移动了很多次,而且为了解决端口冲突问题,下载了几个不同版本的xampp,现在说下问题和解决:
第一次装了xampp在中文目录下面,桌面上的"web程序\xampp" ,(因为xampp是绿色版,所以解压了就用",发现启动xampp-control的apache时说80端口忙,原来是skype占用了80端口,就到skype的选项中把这个占用去了,再修改IIS的端口为123,这时间xampp可以正常使用。
接着想把IIS的端口再用80,就把xampp的apache\conf\httpd.conf中的listen 80和ServerName localhost:80改成4499,再移动xampp目录到D:根目录下,重新install 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:\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!