It is common that many web developers will need to install an instance of Apache, MySql, and PHP (AMP) locally for development. Developers could go about installing each one separately, but this is time-consuming and unnecessarily complicated. Instead, why not use a prepacked application like Wamp. The following steps cover how a user can go about installing WAMP on Windows 10 and some of its standard features.
Preparing for Installing WAMP
Before you begin, make sure you have the done the following:
- Update Windows 10 to latest updates
- Visual C++ for Visual Studio 2015
- Visual C++ for Visual Studio 2012
Note: If you receive any System errors regarding missing dll’s write down the dll driver name. If you have already done the prerequisites and are still receiving this error, then you will need to google the driver to find out where to get it.
The First Step
- Open up a browser and go to http://www.wampserver.com/en/.
- Click on the Start Using Wampserver.
- Click on “Wampserver (64 bits & PHP 5.6.15 & PHP 7)” and click the download directly link. Your browser will open up a new page on Sourceforge, and the file should begin to download.
- When the file is done downloading, now go ahead and execute the file to start installing WAMP. Based on your Windows access controls you may be prompted to allow the application to run. If so click yes.
- Select your language and click OK.
- Accept the License Agreement and click next.
- Read the information page. Then click next.
- Choose the installation directory. The default is c:\wamp64. Click Next.
- Name your shortcut icon. Click next.
- Review installation details, click install. If any of the information is incorrect, click the back button until you get to the section that needs changing.
- For the rest of the install use the defaults.
- Another information window will appear near the end of the installation informing you that the root account for phpMyAdmin is root with no password.
- When the installation finishes, you will have an icon on your desktop to start the server.
- When WAMP starts, an icon will appear in the systray. Red indicates all services are stopped, orange means some services are missing, and green means all services are running. Left click on the icon and click on the localhost option. Your browser will open to the default WampServer page.
As a result of following the above steps, you have now created a local Apache, MySql, and PHP instance. Now you can go about developing and testing your web applications locally before pushing your changes to your production server.
You can always check out some more of our articles to learn more. However, if you want to find out more just about LAMP look at this: Native LAMP on Amazon AWS.
Want to learn more? Have a look at Apache HTTP Server introduction (a good low-cost reference)
If you are taking our “Creating your Marketing Site” class click here to return to where you left off.