简体   繁体   English

MAMP Pro - Apache无法启动

[英]MAMP Pro - Apache won't start

I needed to change the PHP version (5.6.10) I was running for a project I was working on. 我需要更改我正在运行的项目的PHP版本(5.6.10)。 I downloaded the PHP version I needed from the MAMP website, and put it in Applications/MAMP/bin/php. 我从MAMP网站下载了我需要的PHP版本,并将其放在Applications / MAMP / bin / php中。 Restarted MAMP Pro, selected the new PHP version and tried to start the server, but got the "Apache wasn't able to start. Please check log for more information." 重新启动MAMP Pro,选择了新的PHP版本并尝试启动服务器,但得到了“Apache无法启动。请查看日志以获取更多信息。” error. 错误。 Unfortunately the log is empty, so no help there. 不幸的是,日志是空的,所以没有帮助。

If I revert to one of the original PHP versions (5.2.17 or 5.3.6) everything starts up correctly. 如果我恢复到原始PHP版本之一(5.2.17或5.3.6),一切都正确启动。 I tried a bunch of different PHP versions and the only two that work are the ones that came installed with MAMP Pro originally. 我尝试了一堆不同的PHP版本,唯一有效的两个版本是最初安装了MAMP Pro的版本。

Any thoughts as to what might be causing this issue? 有什么可能导致这个问题的想法?

I'm running Mavericks and have already renamed my envvars file to _envvars (when I first updated to Mavericks, as that was causing some issues as well). 我正在运行Mavericks并且已经将我的envvars文件重命名为_envvars(当我第一次更新到Mavericks时,因为这也导致了一些问题)。

为什么不下载包含PHP 5.6.10的MAMP

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

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