Setup — solution MAMP for local Wordpress development - martindubenet/Wordpress GitHub Wiki
MAMP: « MacOS Apache MySQL PHP ». Also available as WAMP for Windows
Bash terminal command line to go to my local Wamp environment:
cd /Volumes/usbT7r/Projects/www/
Old documentation from Codex on « How to install Wordpress with MAMP » is available but it may be depricated (!?).
| First make sure that Homebrew is installed |
|---|
- Download and install latest version from https://www.mamp.info/en/downloads/ (it will include MAMP PRO for free trial but it is not required).
- Launch MAMP (free version is the gray elephant icon).
- From the MAMP window click on
Preferences- PHP-cache: Off.
- Then click on
Preferences ➥ Portsto access your Apache, MySQL and Nginx port numbers.- Apache default port:
8888 - MySQL default port:
8889
- Apache default port:
- Define your timezone in
Finder ➥ Applications ➥ MAMP ➥ bin ➥ php ➥ php*.*.* ➥ conf ➥ php.ini:date.timezone ="UTC"-
date.timezone ="America/New_York".
- Back to MAMP window, click on
Start/Stop(in the upper right corner). - In the browser:
- File location:
Applications/MAMP/bin/mamp/index.php - Add a link to phpmyadmin :
<p class="py-5" style="text-align: center;"><a class="btn btn-info px-5 py-3" style="text-align:center;" href="http://localhost:8888/phpmyadmin" target="phpmyadmin">phpmyadmin</a></p>