简体   繁体   English

为什么Apache服务器MAMP无法运行?

[英]Why doesn't Apache server MAMP run?

I've downloaded php5.6 from here https://www.mamp.info/en/downloads/ and added it to php folder. 我已经从这里https://www.mamp.info/en/downloads/下载了php5.6,并将其添加到了php文件夹中。 After that I can't run Apache server. 之后,我将无法运行Apache服务器。 I removed that folder, but Apache still doesn't work. 我删除了该文件夹,但是Apache仍然无法正常工作。 Files in /Local/logs/ are empty. / Local / logs /中的文件为空。 Mac OS Mavericks. Mac OS小牛。

Same problem here. 这里同样的问题。 A (temporary) solution is to start apache from the terminal: 一个(临时)解决方案是从终端启动apache:

sudo /Applications/MAMP/Library/bin/apachectl start

MAMP detects it as its status light becomes green! MAMP会在其状态指示灯变为绿色时检测到它! But I cannot explain why MAMP doesn't command apache anymore, with nothing logged. 但是我无法解释为什么MAMP在不再记录任何内容的情况下不再命令Apache。 Tried to modify file /bin/startApache.sh, adding a sudo before start command, without success. 试图修改文件/bin/startApache.sh,在启动命令前添加sudo ,但未成功。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM