Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll

- 2x 2x
- 1.75x 1.75x
- 1.5x 1.5x
- 1.25x 1.25x
- 1.1x 1.1x
- 1x 1x
- 0.75x 0.75x
- 0.5x 0.5x
Most developers prefer to build applications locally, on their own computers, rather than on hosted servers. Working locally allows you to work more quickly because you don’t have to wait for your changes to be saved to a remote server and you don’t have to worry about issues like internet connectivity.
Also check out Windows: Local Dev Environment.
Download MAMP
How MAMP Pro Handles Multi Projects with Hosts
Advanced Options for Free Version
DO NOT USE THESE DIRECTIONS IF YOU ARE USING THE PRO VERSION
Turn On Errors
1. With MAMP running, go to the following page in your browser http://localhost/MAMP/index.php?language=English&page=phpinfo 2. Search for “php.ini”. You should see something like Loaded Configuration File: /Applications/MAMP/bin/php/php5.6.10/conf/php.ini * Note: if you have not changed your port, or are using a non standard port, this link will need to include port number like this http://localhost:8888/MAMP/index.php?language=English&page=phpinfo 3. Open the corresponding file in a text editor 4. Search for the line that says “display_errors = Off” and change it to “display_errors = On” 5. Save the file and restart the MAMP servers
How To's
-
Change the password of the MySQL root user
Open the Mac OS Terminal Application (located in /Applications/Utilities) and enter the following command line:
/Applications/MAMP/Library/bin/mysqladmin -u root -p password [NewPassword] replace [NewPassword] with your new password.
Please bear in mind that you also have to change the phpMyAdmin configuration and probably your own php scripts to use the newly created MySQL password. For changing the phpMyAdmin configuration edit the file /Applications/MAMP/bin/phpMyAdmin/config.inc.php and up - Install Wordpress (and Multi-Site)
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up-
Chase Edlefsen
1,566 Points0 Answers
-
Ingunn Floevig
3,666 Points0 Answers
-
Alexandra Sophie Coyle
1,616 Points4 Answers
-
Michael Murray
6,037 Points2 Answers
-
Patrick Bain
Python Development Techdegree Student 2,592 Points2 Answers
-
Jack C.
4,008 PointsHow do I setup PHP and mySQL development environment on a remote server hosted by BlueHost?
Posted by Jack C.Jack C.
4,008 Points1 Answer
-
Ray1 B
9,783 Points1 Answer
-
Jermaine Williams
1,076 Points3 Answers
-
Mia Casesa
3,095 Points1 Answer
-
Ryan Dalton
3,143 PointsI can't find a document folder called "sites" -- yes, I use a Mac. How do I get that file in documents?
Posted by Ryan DaltonRyan Dalton
3,143 Points1 Answer
-
PLUS
Soon Han Ooi
Courses Plus Student 1,062 Points3 Answers
-
Merari Gonzalez
4,437 Points1 Answer
-
Allison Edwards
3,035 Points1 Answer
-
Justin Rose
12,842 Points2 Answers
-
Alex Forseth
8,017 PointsI already use XAMP. Does it matter moving forward with this course?
Posted by Alex ForsethAlex Forseth
8,017 Points1 Answer
-
Dawn tang
2,862 Points1 Answer
View all discussions for this video
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up