Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
In this course, I'm describing how to install a variety of AMP Stack software packages, but as a software developer, you only need one AMP Stack. So, one of the common questions, is how do I choose? Do I go with the individual components that are available for Windows and OS 10 or do I choose one of the prepackaged bundles; such as Wamp Server for Windows, MAMPP for OS 10 or XAMP or Bitnami, which are available for both operating systems. Here are some of the questions you can ask.
First, if you want complete control over your installation, you might choose to go with the individual components. On Windows, you'll need to get each individual component from the appropriate vendor. You'll the Apache HTTP server from Apache, MySQL from MySQL, and PHP from PHP. And you'll be responsible for all the installation and configuration. On Mac OS X, you can use the included Apache HTTP server and PHP.
They're included in your OS X installation but have to be activated, and I'll show you how to do that in this course. You'll still need to get MySQL from mysql.com. But if you choose this route, you'll be responsible for all the configuration and integration between these products. It's a great way to make sure that you're using the default configuration, and not choosing something that's already been integrated by a third party. For others, the priority will be a fast installation, getting up and running with an AMP stack as quickly as possible.
In my experience, these are the fastest installers on each operating system. On Windows, I recommend WampServer. It includes PHP MyAdmin, the web application you use to manage your MySQL databases, and the AMP stack itself, and little else. For OSX, I recommend MAMP. Again, it includes phpMyAdmin and very little else, but both of these packages install quickly and easily and will help you get up and running as fast as possible. For other developers, the priority might be including more software in the installation.
And in that case, I recommend Bitnami, for both Windows and Mac. The Bitnami server includes both phpMyAdmin, as do all of these AMP stacks, but also includes optional MVC frameworks, such as the Zen framework, CakePHP and many others. For some developers, wrestling with a patchy MySQL ports is a priority. Products like WampServer and Xampp install with the standard ports automatically. Port 80 for Apache, and port 3306 for MySQL.
But other AMP stacks install with other ports. This is mostly an issue on OS X. For example, MAMP starts with non-standard ports, but it's easy to reconfigure. And I'll show you how to do that during the course. The Bitnami OS X stack, on the other hand, sets the port at 8080 for Apache unless you install it as a root user. So again, if this is your priority, using standard ports, look at WampServer, XAMPP on Windows or Mac, and Bitnami on Windows.
Before you install any of these AMP stacks, remember this critical thing on any particular computer that's running server software each port can be used by only one application at a time, so you can only have one copy of the Apache HTTP server listening on port 80. You could have one copy listening on port 80 and another one on 8080, that's fine. But if you try to run two copies of Apache at the same time, listening on the same port, the second one will fail to start.
And it's sometimes hard to diagnose this. I include some troubleshooting tips around this problem, for both Windows and Mac, toward the end of the course. To be on the safe side, before you install an AMP stack, uninstall or completely deactivate all the other AMP stacks on your computer, and make sure nothing is listening on port 80 or port 3306. And again, I have some tips later in the course that describe how to do that. If you're working with Apache MySQL and PHP, there are many ways to get started with a local installation.
So, you can either watch this entire course, and make a choice at the end. Or if you already know which AMP stack you want to use, you can jump to that chapter, and watch just those movies. Either way, I hope this course helps you get started installing your own local AMP stack.
Get unlimited access to all courses for just $25/month.Become a member