Using使用 MAMP mamp , you can quickly and easily install Apache, PHP and MySQL on your Mac. ,您可以快速轻松地安装了Apache , PHP和MySQL在您的Mac上。 Installing each package separately is totally possible, but MAMP offers a number of advantages vs. individual installations.安装每个包分别是完全可能的,但mamp提供了许多优势,与个别设施。 MAMP will not alter or interfere with an existing version of Apache already running on your Mac. mamp不会改变或干预与现有版本的Apache已经运行在您的Mac上。 If Apache/MySQL/PHP are no longer needed, delete the MAMP folder and everything returns to its original status.如果阿帕奇/ MySQL的/ PHP的,现在已经不再需要,删除mamp文件夹和一切返回其原来的地位。 Keep reading for a walk-through of the installation and initial setup.继续阅读一个拱门式的安装和初始安装。
- First things first,第一件事:第一, download MAMP下载mamp . 。 Open the .DMG file, review the license, and click the Agree button.打开。 DMG的文件,审查许可,并点击同意按钮。
- Now drag the MAMP folder to your Applications .现在拖动mamp文件夹到您的申请 。 Ignore the MAMP PRO folder (unless you want to purchase MAMP Pro - it does include some忽视mamp亲文件夹(除非您想要购买mamp亲-它包括一些 extra features额外的功能 , but it’s not free). ,但它的不自由) 。
- Give MAMP a minute to install.给予mamp一分钟来安装。
- Navigate to your Applications , select the MAMP folder, and double-click MAMP.app .浏览到您的应用程序 ,选择mamp文件夹,双击mamp.app 。
- The MAMP interface will launch, and Apache and MySQL will start.该mamp界面将推出,和Apache和MySQL将启动。
- Your browser will open and load the MAMP dashboard (http://localhost:8888/MAMP/?language=English).您的浏览器将打开并载入mamp仪表板( http://localhost:8888/mamp/?language=english ) 。 This page includes all of the info on the default settings for your MySQL server, and allows you to quickly access the included tools (phpinfo, phpMyAdmin and SQLiteManager)此网页包含所有的信息,默认设置为你的MySQL服务器,并允许您快速访问所包含的工具( phpinfo , phpmyadmin和sqlitemanager )
- Select phpMyAdmin to configure your MySQL databases.选择phpmyadmin配置你的MySQL数据库。
- Your web server “home” folder (document root) can be found in the htdocs sub-folder of MAMP.您的Web伺服器的“家”文件夹(文档根目录)可以发现,在htdocs子文件夹的mamp 。
- Place your .html, .php etc files in htdocs, and they’ll be viewable at http://localhost:8888把您的。 html , 。的PHP等文件在htdocs ,他们将检视在http://localhost:8888
- Return to the MAMP interface application, and click the Preferences… button.返回到mamp界面的应用,并点击偏好…按钮。 The first tab allows you to control how the servers are started/stopped, if the start page should load when MAMP is opened, and the location of that start page.第一个标签可以让您控制如何服务器是开始/停止,如果起始网页负荷时,应mamp是开放,和位置开始的网页。
- The Ports tab allows you to change the ports for Apache and MySQL. 端口选项卡可让您变更港口的Apache和MySQL 。
- The PHP tab allows you to specify which version of PHP you’d like to use, if Zend Optimizer is enabled/disabled, and which cache to use. PHP的标签,使您可以指定哪些版本的PHP您想要使用的,如果的Zend Optimizer是启用/禁用,其中的缓存使用。
- Finally, the Apache tab allows you to change the default Document Root.最后, Apache的标签可让您更改默认的文档根目录。





























{ 1 trackback } ( 1跟踪)
{ 1 comment… read it below or ( 1条评论…阅读下面或 add one新增1 } )
I used to use this to host my website, I used to pro version, but I could never figure out how to install an e-mail server using MAMP.我以前使用这个东道国我的网站,我用Pro版本,但我永远无法弄清楚如何安装一个电子邮件服务器使用mamp 。 Does any one know how to do this?是否有一个知道如何做呢?
Leave a Comment留下意见