为什么不会Apache服务器在启动MAMP? [英] Why won't Apache Server start in MAMP?
问题描述
我想在本地查看我的Mac上的PHP文件。
I'm trying to view php files locally on my mac.
我跑的优胜美地。
我有我的计算机上安装MAMP。当我preSS启动MySQL服务器启动,但Apache不。出现错误消息说错误。阿帕奇无法启动。请检查您的MAMP安装
I have MAMP installed on my computer. When I press start the MySQL server starts but Apache doesn't. An error message appears saying 'Error. Apache couldn't be started. Please check your MAMP installation'
我已经通过互联网打字的东西已经进入终端和改变envvars中'到'_envvars但没有任何工程。
I've gone through the internet typing stuff into terminal and changing 'envvars' to '_envvars' but nothing works.
我重新安装OSX和工作,但是当我关闭电脑再次出现问题。
I reinstalled OSX and that worked but when I shut down the computer the problem occurs again.
谁能帮助?
感谢
推荐答案
检查,如果你改变了文档根位置或重命名它。至少这是我的错误。
Check if you changed the Document Root Location or Renamed it. At least this was my mistake.
MAMP> preferences> Web服务器>文档根目录
MAMP > Preferences > Web Server > Document Root
这篇关于为什么不会Apache服务器在启动MAMP?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!