If you are looking forward to practice in PHP, first thing you want is to set up a locally development environment. On Windows, WAMP is a popular choice. Let me show you how to install it on Windows 10.
Here are the following installation steps by step.
Step 1 – Download Wamp server from the Wamp Server website.
Step 2 – Scroll down to the download section.
Based on your system, choose 32-bit or 64-bit version of the installer. I choose 64 bit, PHP 7 version because this is the latest release of PHP and I’m using a 64-bit OS distro as well.
Step 3 – Click the appropriate link to download the Installer.
A. You should see something like this. Click the download directly link to start download.
B. If this is the first time to install wamp, don’t forget to install as well the Visual Studio 2012 : VC 11 vcredist_x64/86.exe
On same browser window, you will be redirect to Sourceforge webpage to start the software download.
Step 4 – Locate the downloaded file.
By default it should be in your downloads folder if you have not changed the default settings.
Step 5 – Double click the installer to begin the installation.
Double click to proceed to our installation. Now you should see Windows User access control dialog box. Click Yes to continue.
Step 6 – The dialog box that appears will now ask you to choose your language for installation.
Select your preferred language from the drop down list and click OK. We will be using English for this demonstration.
Step 7 – You should see Wamp Server Licence agreement dialog box.
Click “I accept the agreement” radio button and “Next” to continue.
Step 8 – Proceed to information dialog box.
This is to inform you about the required component that your windows machine has for the Wamp Server to function correctly. Get the most updated version of Microsoft VC++ redistributable package. You can still continue to install Wamp Server without issues even without downloading it first. But after installation when you start the wamp server and get error message complaining about the missing file. Or rather, click Next to Continue.
Step 9 – Select the location where you want to install Wamp Server.
You can accept the default or choose on different drive to install it and click next.
Step 10 – Select Startup Menu Folder.
In this dialog box, you have to select your chosen folder in which the program shortcuts should be placed. If you select the default, it would be placed in C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Wampserver64.
Step 11- Finally, the Ready to install dialog box.
You can review the details and make the changes by going back by clicking the Back button. Once you click Next, installation begins.
Click Next to begin the installation.
Now, you will see the installation begins.
Step 12 – Select default browser dialog box
Now, you should see a dialog box, it will ask you if Internet Explorer should be made the default browser or if you want to change the default browser to something else. Click NO to accept Internet explorer as the default browser.
If you want to change the default browser to say Google Chrome / Firefox, click yes and you should see something like this:
Again the choice between Internet Explorer and Chrome or anything else is purely your own choice and I don’t see any issue on accepting the default and leaving it as Internet explorer.
Step 13- Select default Text Editor.
I would suggest you can accept the default, which is notepad by clicking No. It’s just that if you want to edit apache or PHP config files such as http.conf or php.ini, it would open in notepad. Still if you want to change it you can click Yes and navigate your preferred executable .exe file of your text editor. But, as I said, the default notepad is perfect.
Step 14 – Launch phpmyadmin Information dialog box
After the installation is complete, you will see a dialog box informing you that the user name for phpmyadmin is “root” and password is not set, that is there is no password for it. Click Next to continue.
Step 14- Installation Complete.
Now, you should see the installation complete dialog box. Click finish to exit the Wamp Server installation wizard. Wamp Server should now be installed on your system.
Step 15- Start WampServer
You can now start the Wamp Server by double clicking on the shortcut wampserver icon on your desktop or alternatively launch it from the start menu. After the Wamp Server starts, you can see the Green icon on the taskbar as shown below. Initially it will be Red (establishing connection), then turn orange and then Green (good connection). When it turns green, it means all the services are now running properly. Else, the Wamp Server has not started. Please note that you will have to give administrative privileges for the Server to start. That is just click Yes when you see UAC confirmation dialog box when you click the Wampserver icon to start the server.
When you right click on the icon, you can see the options to start, stop and restart the WampServer along with other option which I leave for you to explore.
That’s it, you are done.
Thanks for visiting my blog. If you have any question, don’t hesitate to comment it down below. I’ll be happy to answer it all.
Don’t forget to follow us on our social media accounts. xoxo
WANT TO GET INSPIRING, ACTIONABLE TIPS AND ADVICE ON TECHNICAL, WEB DESIGN AND CODE EVERY WEEK! SIGN UP HERE