Start learning with our library of video tutorials taught by experts. Get started
Viewed by members. in countries. members currently watching.
Installing Apache, MySQL, and PHP with David Gassner describes how to install and configure Apache HTTP server, MySQL database server, and PHP, known as the AMP stack, on a local development computer. Chapters are devoted to multiple installation approaches: installing the components separately on both Windows and Mac (including coverage of Apache and PHP on Mac OS X 10.7 Lion and 10.8 Mountain Lion), installing the pre-packaged Apache and MySQL distributions in WampServer on Windows and MAMP on Mac, and installing the cross-platform XAMPP and Bitnami on both Mac and Windows. Exercise files are included with the course.
This course was updated on 07/06/2012.
If you use Skype to make phone calls on Windows, you might find that there is a port conflict between Apache and the Skype client. I'll show you what it looks like and then how to resolve it. I have the Skype client open on my desktop, and now I'm going to go to the Windows Services Console, which is available through the control panel. I'll go to the Apache2.2 service, which currently isn't running, and I'll try to start this service. I see this error message. It's a very mysterious message, but essentially it's telling me that Windows couldn't start the service.
The reason is because Apache is trying to use port 80 and the Skype client has already reserved that port. Now one way of solving this is to close Skype, then start up Apache, and then start Skype up again. Apache will have reserved the port for that session and then Skype won't be able to use it. But a better way is to reconfigure Skype not to use that port at all, so I'll show you how to do that. In the Skype client, I'll go to Tools > Options. In the Options dialog, I'll click Advanced > Connection, and I'll deselect this option, Use port 80 and 443 as alternatives for incoming connections.
When that option is deselected, the Skype client will no longer try to reserve the ports for its use and Apache will be able to get started. I'll click Save, and I'll see this message indicating that the changes will only be applied the next time I start Skype. I'll click OK, I'll close this Skype window, then I'll go down to the taskbar, right-click, and choose Quit Skype. That makes sure that the Skype client is completely shut down, and if I see this confirmation dialog, I'll click Quit.
To make absolutely sure that Skype is out of the system, I'll go to my system tray and I'll check for any Skype indicators that might still be here. I don't see any there and so I'm good to go. Now I'll restart Skype. So now Skype is running, and I can make phone calls, but because I didn't reserve port 80, I should also be able to start Apache. I'll go back to the Services panel, which I have in the background. I'll choose the Apache Server and click the Start button, and now Apache starts up quickly and cleanly.
So you can have both Apache and Skype running on the same system, but only one of them can be using port 80 at the same time. My recommendation is to turn port 80 off in Skype and let Apache use it.
Find answers to the most frequently asked questions about Installing Apache, MySQL, and PHP.
Here are the FAQs that matched your search "":
Sorry, there are no matches for your search ""—to search again, type in another word or phrase and click search.
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.