Apache不在OSX中以MAMP启动(但MySQL工作) [英] Apache not starting in MAMP (but MySQL working) in OSX

查看:81
本文介绍了Apache不在OSX中以MAMP启动(但MySQL工作)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使MAMP工作了几个月,最近又安装了PostgreSQL.它也建议安装Apache,我这样做是为了确保PostgreSQL正常工作.然后,我卸载了PostgreSQL和apache构建,并尝试重新启动MAMP.它启动了MySQL数据库(开绿灯),但是Apache没有启动.我卸载并重新安装了MAMP只是为了面对同样的问题.

I've had MAMP working for a few months and recently installed PostgreSQL. It recommended installing Apache as well, which I did to make sure PostgreSQL worked. I then uninstalled PostgreSQL and the apache build and tried to restart MAMP. It fired up the MySQL database (green light) but Apache didn't start. I uninstalled and reinstalled MAMP only to face the same problem.

Apache似乎没有在MAMP文件夹中记录任何错误,因此没有任何错误可以报告,我在哪里着手修复它.我希望这与我安装了另一个引起问题的版本(并删除了该版本)有关,但是我实在经验不足,不知道自己做了什么.

Apache doesn't seem to be logging any errors in the MAMP folder, so without any errors to report I'm struggling with where to begin fixing it. I'm hoping its to do with the fact that I installed another version (and deleted it) that has caused the problem but I'm too inexperienced to know what I've done.

如果不在MAMP文件夹中,我在哪里可以找到任何错误?不在:

Where might I find any errors if not in the MAMP folder? Not in:

  • /应用程序/MAMP/库/日志
  • /Applications/MAMP/bin/logs

推荐答案

停止Apache使用命令行为我解决了此问题:

Stoping the Apache solved this issue for me, using the command-line:

sudo apachectl stop

这篇关于Apache不在OSX中以MAMP启动(但MySQL工作)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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