Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
In this movie we're going to setup our application server environment on a Mac by installing the MAMP Project Application Server. MAMP stands for Macintosh, Apache, MySQL and PHP. Now if you are a little nervous about installing and setting up an Application Server, don't worry. If you can drag-and-drop you can install MAMP. So in your browser navigate to www.mamp .info, and it should take you directly to the page that you see on screen. Once you arrive on the homepage in the lower right-hand corner you should see a link that says Download now, we'll go ahead and click that, and that will take us to a download page.
To download the MAMP install file, click on the link that says MAMP & MAMP PRO. That will open up a dialog box to let you know that you are going to be saving the MAMP install file to your hard- drive and you just want to click Save File folder. And that will download that to your hard-drive. Once your file has finished downloading, on your desktop you should see the MAMP install file and it will have a . dmg extension, double-click that. That will open up the License Agreement, go ahead and click Agree. After double-clicking the install file you'll see the resulting disc image. To install MAMP locally all you have to do is grab the MAMP folder and drag it over to the Applications directory and release, and it will go ahead and install.
Notice that I have selected the MAMP folder and not the MAMP PRO. MAMP is freeware, whereas MAMP PRO is not. It has added functionality and you may want to explore that at a later time. Once MAMP has finished installing, you're going to want to open it up and configure it. So we're going to go ahead and close out of this window and we'll find it in our Applications directory. When you browse through your Applications directory you should now see a folder called MAMP. So if I click on the MAMP folder I see the directory structure, and there is one folder in particular I want to point out to you.
It's this htdocs folder right there which is currently empty. When you upload file to be tested on the MAMP server, this is the directory that they are going to need to be located. So that's very important for what we're going to be doing in Dreamweaver, because that's where we are going to have to upload our remote files to test our applications. I'll go ahead and launch MAMP and as you launch MAMP you're actually going to see the server startup, so our Apache and MySQL server will go green, and it didn't stick around long enough, but if they launch fast we'll actually see little control panel will turn green on you. But as it is once we launch MAMP, it launches it in your browser window. So you'll control your server and all the components here from the browser window.
I do want to point something in the browser address bar. If you will take a look you'll see we are now located at localhost and then a colon indicating port 8888. Now that's very important because in Dreamweaver when we specify the local host we'll need to remember the port that MAMP is using. Another thing that we need to point out on this page. If we look a little past halfway down, you are going to see that the MySQL password is set to default username of root and a default password of root. So please take note of that.
You could certainly change it here, but being in tested environment we're not going to change that. For your own development work you're definitely going to want to set your own username and password. Our next step will be to go to the phpMyAdmin and define the database. So we'll just go ahead and click on the phpMyAdmin link and we'll go ahead and create our database in the next exercise.
Get unlimited access to all courses for just $25/month.Become a member
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.
Your file was successfully uploaded.