Apache 未在 MAMP Pro 上启动 [英] Apache not starting on MAMP Pro

查看:45
本文介绍了Apache 未在 MAMP Pro 上启动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Apache 无法启动并引发错误:

Apache wont start and it throws an error:

或Apache 无法启动.请检查日志文件以获取更多信息.

OR Apache couldn't be started. Please check the log file for more information.

dyld:未找到符号:_iconv引用自:/usr/lib/libmecabra.dylib预期在:/Applications/MAMP/Library/lib/libiconv.2.dylib在/usr/lib/libmecabra.dylib/Applications/MAMP/Library/bin/apachectl: line 80: 2799 Trace/BPT trap: 5 $HTTPD "$

dyld: Symbol not found: _iconv Referenced from: /usr/lib/libmecabra.dylib Expected in: /Applications/MAMP/Library/lib/libiconv.2.dylib in /usr/lib/libmecabra.dylib /Applications/MAMP/Library/bin/apachectl: line 80: 2799 Trace/BPT trap: 5 $HTTPD "$

这对于多个端口是一样的.推荐的 MAMP 端口和常规的 apache 端口.

This is the same for multiple ports. The reccomended MAMP ports AND the regular apache ports.

MySQL 启动得很好.

MySQL starts perfectly fine.

有什么建议吗?

推荐答案

我昨晚更新到最新版本的 Yosemite.

I updated to the latest version of yosemite last night.

您显然必须转到应用程序中的 MAMP 文件夹.转到 bin -> apache2 -> bin.

You apparently have to go to your MAMP folder in Applications. Go to bin -> apache2 -> bin.

然后将文件从 envvars 重命名为 _envvars.

Then rename the file from envvars to _envvars.

我还遇到了另一个无法正常工作的问题.确保端口是 Apache 默认值,而不是 MAMP 默认值(端口 80 等).如果它立即起作用,则这不适用于您.

I also came across another problem of it not working correctly. Make sure the ports are Apache defaults, NOT MAMP defaults (port 80 etc). If it works straight away, this should not apply to you.

这篇关于Apache 未在 MAMP Pro 上启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆