Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
The MAMP software bundle is one of the easiest ways to get started with Apache, MySQL, and PHP on OS Ten. You can download the software from the web page at www.mamp.info/en. There are versions available for many languages, I'll be using the English version. You'll see that there are two versions of MAMP. One's simply named MAMP, and the other, MAMP PRO. When you install this software, you will actually be installing both at the same time.
You can download the software from here, under the MAMP graphic, or you can click the Downloads link in the header. And then you can download the Installer. You can place it anywhere on your hard disk. I've downloaded it to my Desktop. To start up the Installer, just double-click it, and then follow through the prompts until you get to the License Agreement. Read through the License Agreement, and if you agree with it, click Continue and then Agree. And then click Install. If you're prompted for it, type your administrative password.
There aren't any options for the MAMP installation. The only thing that the installer does is to copy the files and folders to your applications folder. When the installation is complete, close the installer dialog, then go to finder, go to your applications folder, and locate these two folders, MAMP, and MAMP Pro. For this demonstration, I'm only going to show you how to work with MAMP, the free version. And, I'm not going to work with MAMP Pro at all, so I'm just going to delete it.
Before you startup MAMP for the first time, make sure that you don't have any other copies of Apache or MySQL running on your system. And then open up the MAMP folder. Within this folder you'll find an htdocs folder, and this is where you'll put all of your HTML, graphic, and other web asset files. And you'll also find the MAMP application. This is the control panel for the MAMP servers. I'll double click to open it, and if you see this warning just click on Launch MAMP.
And that takes you to the control panel. And then you can immediately start up the Apache and MySQL Servers by clicking the button on the right. When the servers have opened, a web page will pop up in a browser. Notice the URL indicates that Apache is listening on a special port, 88, 88. I'll show you how to reconfigure that in a later movie. And down below under my SQL, you'll see that my SQL is listening on it's own special port, 88,89.
And again, I'll show you how to change that. Also notice, that the my SQL root user and password are displayed here. The default administrative password for MySQL under MAMP is root. To get to phpMyAdmin, just click the link right here, and that'll take you to the phpMyAdmin application. When you get to phpMyAdmin, this way, it's displayed in a larger webpage that's owned by MAMP. That's what this header is from.
And the header let's you easily get to the PHP info page. This will tell you which version of PHP you're running and where your php.ini file is. To a Tools menu where you can get back to phpMyAdmin or an application called phpLiteAdmin. To a frequently asked questions page and back to the MAMP website. If you are able to get this page then you know for sure that PHP and MySQL running. But, you might want to return the servers to their normal ports.
Port 80 for Apache and port 3306 for MySQL. I'll show you how to do that in the next movie.
Get unlimited access to all courses for just $25/month.Become a member
82 Video lessons · 98095 Viewers
61 Video lessons · 85367 Viewers
71 Video lessons · 69378 Viewers
56 Video lessons · 101735 Viewers
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.