php XAMPP 1.8.2-2 Apache Web Server 无法启动,总是立即停止
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/19787517/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
XAMPP 1.8.2-2 Apache Web Server won't start, always stops immediately
提问by Onovar
I'm running XAMPP 1.8.2-2 on my mac (OS X 10.9) and the Apache Web server won't start. It always get the status starting up.. or stopped. (never a green light.) I already tried to change the port to 8080 or 8888 but it still won't run.
我在我的 mac (OS X 10.9) 上运行 XAMPP 1.8.2-2,但 Apache Web 服务器无法启动。它总是处于启动状态……或停止状态。(从来没有绿灯。)我已经尝试将端口更改为 8080 或 8888,但它仍然无法运行。
Can someone please help me? I show some images below to give you a better view.
有人可以帮帮我吗?我在下面展示了一些图片,以便您更好地查看。
Thank you!
谢谢!
(I saw related questions but couldn't find an answer related to the mac os)
(我看到了相关问题,但找不到与 mac os 相关的答案)
回答by Gabbyboy
I had the same problem and I solved doing this:
我遇到了同样的问题,我解决了这个问题:
open Terminal and enter this command:
打开终端并输入以下命令:
sudo apachectl stop
回答by EnriMR
After install Mac OS X 10.11 you must reinstall XAMPP again. I'm not sure what is different (maybe some permissions) but that was the unique solution for me when I had the same problem.
安装 Mac OS X 10.11 后,您必须重新安装 XAMPP。我不确定有什么不同(也许是一些权限),但当我遇到同样的问题时,这对我来说是唯一的解决方案。