Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/33.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Apache XAMPP 5.5.28没有';不能在OSX10.11上工作_Apache_Xampp_Osx Elcapitan - Fatal编程技术网

Apache XAMPP 5.5.28没有';不能在OSX10.11上工作

Apache XAMPP 5.5.28没有';不能在OSX10.11上工作,apache,xampp,osx-elcapitan,Apache,Xampp,Osx Elcapitan,我的iMac操作系统昨晚升级到OS X El Capitan(10.11版) 我使用XAMPP5.5.28。MySQL和ProFTPD正在工作,但Apache Web服务器在升级后无法工作 即使应用程序日志显示 Starting Apache Web Server... /Applications/XAMPP/xamppfiles/apache2/scripts/ctl.sh : httpd started 然后尝试在终端上启动它 $ sudo /Applications/XAMPP/xamp

我的iMac操作系统昨晚升级到OS X El Capitan(10.11版)

我使用XAMPP5.5.28。MySQL和ProFTPD正在工作,但Apache Web服务器在升级后无法工作

即使应用程序日志显示

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的应用程序管理器启动web服务器?
  • 感谢您的帮助

    我也有同样的问题 我以为这是El Capitan的死胡同 但我现在开始工作了: 问题是apache已经在运行,不知道如何运行。 所以只需转到终端并键入(以root用户身份登录)

    然后转到XAMPP并尝试从那里启动apache。 如果此操作不起作用,请重新启动系统,然后转到终端:

        sudo su -
        cd /etc/apache2/
        apachectl start
        apachectl stop
        exit
    

    然后转到XAMPP并尝试从那里启动apache。

    你真是棒极了!它确实奏效了!太好了,对我有用。我已经安装了symfony3,然后用XAMP在我的mac上为它创建了虚拟主机。一切正常,重启MAC后,出现了这个错误。在论坛上搜索了很多之后,我来到了这个帖子,它解决了这个问题。
        sudo su -
        cd /etc/apache2/
        apachectl start
        apachectl stop
        exit