If you are looking forward to developing application in PHP, first thing you want is to set up a development environment. On Windows, WAMP is a popular choice. Let me show you how to install WAMP 3.2.0 which was released on 20th Feb 2020 on Windows 10 in this blog post.
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.
These screenshot will not be the same as it will change based on the release of the updated version of the WAMP server. Currently the latest WAMP version is 3.2.0 as on March 2020.
By default the downloaded file should be in your downloads folder if you have not changed the default settings. The name of the file would be something like wampserver3.2.0_x64.exe and would be 530 MB in size
In this dialog box, you have to select the components that you want to install. I select all the versions of PHP so that I have flexibility in application testing because the hosting providers may not offer the latest version of PHP. I also select both MYSQL and MariaDB. This again provides me with a larger development options as hosting providers offers both MariaDB and MySQL.
In this dialog box you have to select the 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. This folder content is accessible from the windows start button, all apps in windows 10. If you place in any other folder, the shortcut will not be visible from the start menu.
You can change it to something else but accepting the defaults is perfectly good. The 64 at the end of Wampserver64 is tell you that you will be using the 64 bit version of the application. If you dont see 64, then you will be using the 32 bit version of the application.
Now you should see a dialog box asking you if Internet Explorer should be made the default browser and asks you if you want to change the default browser to something else. Click NO to accept Internet explorer as the default browser.
In Windows 10, Google Chrome executable is located in C:\Program Files (x86)\Google\Chrome\Application folder by default. Go to this folder and select chrome.exe and click open. If you click cancel, it would again default to Internet Explorer.
I would suggest you can accept the default, which is notepad by clicking No. Its just that if you want to edit apache or PHP config files such as http.config or php.ini, it would open in notepad. Still if you want to change it you can click Yes and navigate to the executable .exe file of your preferred text editor. But, as I said, the default notepad is perfect.
This is the most common issue with WAM which is that the WAMP server does not start after installation. It continues to show the status red. This dialog boxprovides you the path to the help document in this happen with you. These files will be placed in your WAMP installation folder which is C:/wamp64 in my case and will have the filename instructions_for_use.pdf
You can now start the WampServer by double clicking on the shortcut wampserver icon on your desktop or alternatively launch it from the start menu. After the WamServer starts, you can see the Green icon on the taskbar as shown in the screenshot. Initially it will be Red, then turn amber and then Green. When it turns green, it means all the services are now running. Else, the WampServer 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 left 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. If you face any problem, please leave the question as a comment, I will answer them.
WAMP Services
If you see the red button and it does not turn green, try to restart it as a first trouble shooting step. If the issue still persists, it mean that the correct version of VC++ redistrubutable is not installed. Please follow my post here to install VC++ redistributable if the issue does not resolve
Underneath a boring IT professional lies a passionate student of computer science. I love computers and this blog is about everyday computer issues that a common man faces. Through this blog I try to reconnect with my long forgotten self.
Look for database (scroll to the end of the file), it would look something like below. This is what settings.php file shows for me. This will differ based on your db configuration. Make sure that host is set to localhost and remaining entries are correct. I did not provide table prefix, so it is an empty string for me.
Are you able to access the WAMP page ? if yes start learning PHP. You can access MYSQL from Place the PHP files in the wamp/htdocs folder and access the page in the browser using I recommend you create a project folder in htdocs folder and keep all the files there.
Make sure that you have installed visual studio redistributable package. If you dont install the correct version, WAMP will not work. Visual Studio 2019 is different from visual studio redistributable package. You have to install visual studio redistributable package. In step 2 screenshot, warning number 2 is the required package. Download that and install.
Open Command prompt as Administrator and enter the command path. You should see some entries related to PHP. Something like C:\Program Files (86)\php\v5.3. You have to remove those entries from path variable.
In the System properties dialog box that appears, you will see environment variable at the bottom of the screen. Click on that, under System Variable you should see path, click on path -> edit and remove those entries and click on OK
HELLO SHAILESH SIR !
I HAD TRIED TO INSTALL WAMPSERVER WITH THE HELP OF YOUR STEPS BUT IT IS NOT INSTALLING. IT IS NOT WORKING AFTER STEP 10. NOW PLEASE TELL ME WHAT I HAD TO DO. PLEASE REPLY AS SOON AS POSSIBLE BECAUSE I HAD TO SUBMIT MY FILE.
THANK YOUY FOR THE STEPS
Shailesh , Your link to download is not working above. I downloaded a copy and it installed on another site, but I still cant get a webpage from my default IE. I had four major problems configuring it and listed on this forum under fresh install =35290#35290
Thanks Rajarshi, Please use 32 bit or 64 bit installer based on the architecture of your computer. To check the CPU architecture(64/32 bit) of your system, go to Start Menu->Settings->System->About. There you will see system type. If you see 64 bit, download 64 bit version of WampServer. Also the latest version of Wamp server requires Visual C++ Redistributable for Visual Studio 2012 Update 4 which you can download from here. Download and install both x64 and x86 versions if you have 64 bit processor. If you have 32 bit processor, install x86 version. Since you are using Windows 10, you system should most probably be 64 bit.
c80f0f1006