Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Windows: Local PHP Dev Environment!

- 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 MAC: 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 * Note: if you are using a non standard ports, this link will need to include your port number like this http://localhost:**YOUR PORT NUMBER**/MAMP/index.php?language=English&page=phpinfo 2. Search for “php.ini”. You should see something like Loaded Configuration File: C:/MAMP/bin/php/php5.6.10/conf/php.ini 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 Command Prompt and enter the following command line:
C:/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 C:/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-
Matt Fuller
8,831 Points1 Answer
-
Ker Sing Tan
10,573 Points3 Answers
-
Ceil-Ian Maralit
Front End Web Development Techdegree Graduate 19,434 PointsApache Server WONT TURN ON (MAMP)
1 Answer
-
Ceil-Ian Maralit
Front End Web Development Techdegree Graduate 19,434 PointsHow to choose Apache Server instead of default MySQL
0 Answers
-
dh65
131 Points1 Answer
-
Samson Chemir
6,604 PointsIf you follow the steps on the video, you'll see a different result.Is there a new guide for the latest version of MAMP?
Posted by Samson ChemirSamson Chemir
6,604 Points1 Answer
-
mk37
10,271 Points1 Answer
-
jcb2
1,846 Points1 Answer
-
Mégane HAMMOUM
4,375 Points0 Answers
-
Carlos Gil Tabuenca
UX Design Techdegree Graduate 9,134 Points0 Answers
-
Dima Mykhaylov
19,379 Points1 Answer
-
Sean Flanagan
33,236 Points3 Answers
-
Rich Edwards
4,589 Points1 Answer
-
Max Betancourt
808 Points1 Answer
-
web pad
4,483 Points1 Answer
-
web pad
4,483 Points0 Answers
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