You want to have a local Apache web server to test your new site? We’ll show you how to setup a web server and an MySQL server using XAMPP. XAMPP is a software that will install Apache+PHP+MySQL on your computer. Of course, you can download Apache, PHP and MySQL and install them by yourself, but using a suite like XAMPP will make the things much easier.
So, the steps to install the Apache+MariaDB(MySQL) development environment are:
1.Download XAMPP from https://www.apachefriends.org/index.html (the Windows Installer is about 110MB)
2. Install XAMPP. During the installation, choose the components you want to install.
3. Start XAMPP Control Panel.
4. Start the modules you want to run – in our case Apache(which includes PHP) and MySQL.
You can now access the web server on your web browser at http://localhost/. The root folder of the web server is c:\xampp\htdocs\ In this folder you will put your site’s files.
To manage the database server go to http://localhost/phpmyadmin/. phpMyAdmin is a graphical tool that allow you perform various database operations.
And the video tutorial: