How to Install XAMPP in Windows - LoudProgrammer

How to Install XAMPP in Windows

how to install xampp

In order to write and test your PHP scripts you need a web server. You can install a web server on your local computer in just a few steps. XAMPP is an Apache distribution that comes bundled together with PHP and MySQL database.

To install XAMPP, you need to visit the official XAMPP website and download the installer for Windows and then run it on your Operating System to install it.

You can watch this tutorial on how to install XAMPP on YouTube by following this link.

On the download page you will see different options for different operating systems including Windows, Mac OSX and Linux. Since we are installing XAMPP in Windows, we will click on the button for XAMPP for Windows. Clicking that link opens the dialog shown below.

how to download xampp

Click in Save File button in order to start downloading the installer.

Once your download is complete you can go ahead and run the installer. Open the directory where the downloaded file was saved by right clicking on the file name in the Downloads browser window and then clicking on Open Containing Folder.

open containing folder

Once you locate the downloaded installer file, double click on the file to launch the XAMPP installer. With the permissions of an administrator, double clicking the installer launches the Window below.

Install XAMPP doalog windowClick on Next in order to move to the next step of the installation. Leave the default options as shown below.

install xampp default optionsThe next step is to select the drive and folder where you want your XAMPP to be installed. Windows would default to Drive C but you can specify a different drive of your choice. To alter the installation drive you can either specify the folder path manually in the text input box or click on the browse button and select a different folder.

xampp installing windosOnce you have all your options set the installer would being to install XAMPP on your Operating System. This might take a couple of minutes depending on your computers processing power and memory available.

installing xampp complete

Once the installation is complete, click on Finish with the checkbox checked as shown above. This will launch the XAMPP control panel so that you can start the PHP and MySQL server.

xampp launch control panelClick on the Start buttons for Apache and MySQL database.

In order to test your installation, launch your web browser and point your URL to http://localhost and hit your enter button. If the screen below is loaded then your Apache installation was successful.

Testing xampp installation in localhost

To test the MySQL database installation point your browser URL to http://localhost/phpmyadmin and if the screen below is show then your MySQL database installation was successful.

Testing phpmyadmin installation in the localhostIf you followed the steps above as described, you should now have your XAMPP development environment set up right. If you encountered issues with your installation please post the nature of your challenge in the comments below.

Happy PHP coding!

Did you find this article useful? Please share your thoughts below.

The following two tabs change content below.
Geoffrey is a lead software developer, author and writer. He writes code from scratch and frequents GitHub. He also writes and talks about technology trends, small business tips and software developer productivity hacks. He is no coffee addict.

Leave a Reply

Your email address will not be published. Required fields are marked *