Steps: Set up MAMP Set Document Root to your PHP Folder (MAMP > Preferences > Web Server > Document Root) In Brackets, type in the local URL: http://localhost (if using Apache Port: 80) http://localhost:8888 (if using Apache Port: 8888) Notes May need to refresh page “http://” is needed Enjoy!
This is done by going to MAMP > Preferences > Web Server > Document Root, and clicking on the folder icon. Then all you have to do is choose which folder you want MAMP to host locally! (This can be any folder on your computer; no need to create a “MAMP Websites” parent folder). You […]
The default settings in MAMP result in the URL for your local site to be displayed as: http://localhost:8888/index.php This can be changed by going to MAMP > Preferences > Ports > Apache Port, and changing it from 8888 to 80 Apache Port: 80 This results in the URL being displayed as: http://localhost/index.php And also allows […]