MAMP – WP won't show locally in browser
-
I’m trying to set up a local development environment on my Mac with MAMP without success. The web site I want to develop is currently hosted by Go Daddy (journeyswithjeffhoag.com). I followed the instructions provided by egalo.com and the WP Codex. In summary, here’s what I did:
1) Entered ‘Applications/Utilities/Terminal’ and changed the name of the local host to ‘jwjh.com’.
2) Installed a fresh copy of MAMP (v. 2.2) and configured the Apache port to 80 and the MySQL port to 8889. Set MAMP’s document root to my dedicated local directory for the web site files.
3) Used an FTP client to copy the hosted site’s web files from the root directory, and transferred them to the dedicated directory.
4) In MAMP’s phpMyAdmin, created a new MySQL database, and imported a backup of the web site from the host site as a *.sql file.
5) Opened the ‘wp-config.php’ file, and changed the DB_NAME to reflect the database name used in MAMP. I also changed both the DB_USER and DB_PASSWORD to ‘root’, and left DB_HOST as ‘localhost’.
6) Per egalo.com’s instructions, I entered MAMP phpMyAdmin, and searched and changed the values in the wp_options table for my test database from the host site’s url to my localhost url (journeyswithjeffhoag.com -> jwjh.com).
When I tried to view the site locally in my browser, I got a white screen.
I know this process should work. Earlier today I followed this procedure and was able to view another site in my browser from a local backup. I suspect there’s something up with the files downloaded from Go Daddy. For example, I don’t see a wp-admin/install.php file included with Go Daddy’s host files. [Could it be because of their 1-click install, they put the file somewhere else?]I’m not sure what or where to investigate further. Any suggestions?
- The topic ‘MAMP – WP won't show locally in browser’ is closed to new replies.