Apache not starting on MAMP Pro

混江龙づ霸主 提交于 2019-11-26 23:50:25

问题


Apache wont start and it throws an error:

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

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 "$

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

MySQL starts perfectly fine.

Any suggestions?


回答1:


I updated to the latest version of yosemite last night.

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

Then rename the file from envvars to _envvars.

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.




回答2:


Installing the latest release of MAMP 3 Version 3.0.7.3 in my case seems to solve this issue.



来源:https://stackoverflow.com/questions/25201280/apache-not-starting-on-mamp-pro

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!