Figure 2-9. The MAMP application in your Applications folder and after copying to your desktop You are now ready to run the MAMP for the first time. Double-click the MAMP program and you’ll see the main control window appear, along with the welcome page, which will display in your default web browser. The Apache and MySQL servers should start automatically and display their status in the control window. If they don’t, you can click on the Start Servers button to get them going. Then you’ll see the welcome page in your browser (see Figure 2-10). Now that you have your MAMP. | Figure 2-9. The MAMP application in your Applications folder and after copying to your desktop You are now ready to run the MAMP for the first time. Double-click the MAMP program and you ll see the main control window appear along with the welcome page which will display in your default web browser. The Apache and MySQL servers should start automatically and display their status in the control window. If they don t you can click on the Start Servers button to get them going. Then you ll see the welcome page in your browser see Figure 2-10 . Now that you have your MAMP fully installed and running it s time to test it with a quick HTML file. So using an editor such as TextEdit create a file called as follows and save it in the htdocs folder of your MAMP installation you may need to ensure that you have your TextEdit preferences set to ignore rich text commands in HTML files in order to use it as an HTML editor html head title A quick test title head body A quick test body html And now you can test your setup by entering the following into your browser s address bar http localhost 8888 Installing a MAMP on Mac OS X 21 Figure 2-10. The MAMP up and running and displaying a page This tells your browser to serve up the default page stored locally in the MAMP htdocs folder which in this case is your file. All being well you will see the simple test page displayed see the browser window in the upper-left corner of Figure 2-11 . To get back to the main welcome page at any time you can click on the Open start page button in the control window. Click it now and then click on the phpinfo button near the top of the web page just to the right of the Start button. If everything is working correctly you will now be presented with a very long page of information all about your installation of PHP see Figure 2-12 . You should also ensure that MySQL is correctly installed click on the phpMyAdmin button and you ll be presented with a control page. At this point .