Download XAMPP:
Go to the official XAMPP website and download the latest version of XAMPP for your operating system.
Run the Installer:
Once the download is complete, run the installer. Follow the on-screen instructions to install XAMPP on your computer.
Select Components:
During the installation process, you will be prompted to select the components you want to install. Typically, Apache, MySQL, PHP, and phpMyAdmin are selected by default. You can keep these default selections unless you have specific reasons to change.
Start Apache and MySQL:
Verify Installation:
Open a web browser and type http://localhost
in the address bar. You should see the XAMPP dashboard, confirming that the server is running.
Test PHP:
<?php
phpinfo();
?>
Access to phpMyAdmin:
Open your web browser and go to http://localhost/phpmyadmin
. Here, you can manage your MySQL databases.