【发布时间】:2016-01-12 22:56:07
【问题描述】:
我的 iMac 操作系统昨晚升级到 OS X El Capitan(版本 10.11)。
我使用 XAMPP 5.5.28。 MySQL 和 ProFTPD 可以正常工作,但 Apache Web Server 升级后无法正常工作。
即使应用程序日志说..
Starting Apache Web Server...
/Applications/XAMPP/xamppfiles/apache2/scripts/ctl.sh : httpd started
然后尝试在终端上启动它
$ sudo /Applications/XAMPP/xamppfiles/bin/httpd
(48)Address already in use: AH00072: make_sock: could not bind to address [::]:80
(48)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
我检查了是否有其他应用程序使用相同的端口
$ netstat -anp tcp | grep :80
没有任何东西使用它。
反正为了避免报错,我把80端口改成8888了
$ vi /Applications/XAMPP/etc/httpd.conf
然后尝试再次在终端上启动 Web 服务器,并且成功了。
现在想知道
- 哪个进程使用端口
80? - 如何通过 XAMPP 的 Application Manager 启动 Web 服务器?
感谢任何帮助。
【问题讨论】:
标签: apache xampp osx-elcapitan