MAMP本地主机不工作 [英] MAMP local host not working

查看:69
本文介绍了MAMP本地主机不工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的13英寸MacBook Pro在OS X 10.8.2上运行,我已经下载了MAMP 2.1.4.

My MacBook Pro 13 inch is running on OS X 10.8.2 and I have downloaded MAMP 2.1.4.

我想运行MAMP程序.成功连接到服务器后,然后尝试按打开开始页面".它带我到一个页面无法找到该页面的Google Chrome浏览器.

I want to run the MAMP program. After I connect to the servers successfully I then try to press the 'open start page'. It takes me to the Google Chrome browser with a page that says the page can't be found.

我已经安装了MAMP,并且正在通过端口80和3306或8888和8889正常运行Apache服务器和MySQL服务器-使用这两种组合可使状态指示灯变为绿色.由于某种原因找不到本地主机.

I've installed MAMP and am running the Apache server and MySQL servers fine through either port 80 and 3306 or 8888 and 8889 - using either combination makes the status lights go green. The local host can't be found for some reason.

我在以下方面进行了广泛的研究:

I have done extensive research where I have:

  • 卸载并重新安装MAMP三次,每次重新启动计算机
  • 物理上将地址放入起始页,即http://<localhost>:8888/.这就是我在地址栏中输入的内容:糟糕! Google Chrome无法找到localhost:8888 或与http://localhost:80/
  • 相同的主机
  • 确保在PHP下的MAMP首选项中,启用了PHP5,然后停止并再次启动了MAMP(我有5.4.10的php版本,而Chache是​​XChache)
  • 试图在系统偏好设置下使用共享来启用Internet共享-不执行任何操作.
  • uninstalled and reinstalled MAMP three times and restarted the computer each time
  • physically put in the address to the start page, ie http://<localhost>:8888/. This is what it says when I put that in the address bar: Oops! Google Chrome could not find localhost:8888 or the same for http://localhost:80/
  • made sure in the MAMP preferences under PHP, that PHP5 is enabled and then stopped and started MAMP again (i have 5.4.10 php version and Chache is XChache)
  • tried to use sharing under system preferences to enable internet sharing - does nothing.

我该怎么办?

推荐答案

我遇到了同样的问题,我只是将apache的端口更改为90,然后连接到 http://localhost:90

I had the same issue i just changed the port for apache to 90 and connected then to http://localhost:90

127.0.0.1:90

127.0.0.1:90

分别. 在我的情况下修复了该问题. 希望有帮助.

respectively. Fixed it in my case. Hope that helps.

系统 iMac OS X优胜美地10.10.1 MAMP 3.0.7.3

System iMac OS X Yosemite 10.10.1 MAMP 3.0.7.3

这篇关于MAMP本地主机不工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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