PHP 8 - Install XAMPP on Window 10

Last modified: April 02, 2022

How to Install PHP, and MySQL on Windows 10

  • The easiest way to install PHP, MySQL, PHPMyAdmin is to install XAMPP.
  • Go to https://www.apachefriends.org/index.html and download XAMPP for Windows. Once the file is downloaded, double click on it to install. 

xampp Configure

xampp setup

  • Select program server, programming languages, and program languages. In our case, we are going to select Apache, MySQL for program server, PHP for programming languages, and phpMyAdmin for program lanagues. We need Apache to run phpMyAdmin, MySQL for database and phpMyAdmin for managing our databases.

xampp setup

  • Select a path to install XAMPP.

xampp setup

  • Start Apache and MySQL services. To manage the database, you can click on Admin button of MySQL

xampp Configure

You need to put PHP code in C:\xampp\htdocs

Start following Modules

  • Apache
  • MySQL

xampp Configure

Press Admin of MySQL, which will launch Web Interface to manage MySQL Server. We can create database (will discuss later on how to do so)

xampp Configure