Home  >  Article  >  php教程  >  xampp使用技巧及问题汇总

xampp使用技巧及问题汇总

WBOY
WBOYOriginal
2016-06-13 10:17:421418browse

情况1:  xampp 在启动时会检测Apache所使用的80端口是否被占用,如果占用,则给出建议性提示.

解决1:  在xampp的Control面板中点击"Config"按钮,打开"Configuration of Control panel" 配置界面,在界面下方有"Service and Port Settings"按钮          点击打开,选择"Apache" 选项卡, 将Main Port 和 SSLPort 修改即可.

 

情况2:  在xampp在Control面板上启动Apache时,提示端口80 被占用.

解决2:  点击"Apache" 这一行后的Config按钮, 选择"Apache (httpd.conf)" ,打开httpd.conf文件, 查询"80" ,会找到"Listen 80" ,将值修改为不会冲突端口号即可(比如8081等). 接着再找到 "ServerName localhost:80"  ,将值再次修改.

           修改SSL模块所使用的443端口: 点击"Apache" 这一行后的Config按钮, 选择"Apache (httpd-ssl.conf)"  ,打开 httpd-ssl.conf, 查询"443",会找到"Listen 443" ,将值改为不起冲突中的端口号,或者在"httpd.conf" 文件中关闭SSL模块也是可以的.

                      关闭方法:查找"#Secure (SSL/TLS) connections" ,将"Include conf/extra/httpd-ssl.conf" 一句前面加# 就可以了.

 

 

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn