MAMP安装

MAMP: My Apache - MySQL - PHP

For OS X and Windows


下载
https://www.mamp.info/en/downloads/

文档:
https://www.mamp.info/en/documentation/

关键点(Mac)
1. MAMP只能装在/Applications目录下
2. 修改mysql root用户的密码:/Applications/MAMP/Library/bin/mysqladmin -u root -p password (将password改成你的新密码即可)
3. 你需要同时修改phpMyAdmin的密码:/Applications/MAMP/bin/phpMyAdmin-X.X.X/config.inc.php
4. 默认的apache端口为8888, mysql端口为8889
5. Document Root在哪里?  /Applications/MAMP/htdocs, 可在MAMP的控制面板中修改.

你可能感兴趣的:(MAMP安装)