Basic
Advanced
Examples
PHP 8 - Install XAMPP on Window 10
Last modified: April 02, 2022How 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.
- 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.
- Select a path to install XAMPP.
- Start Apache and MySQL services. To manage the database, you can click on Admin button of MySQL
You need to put PHP code in C:\xampp\htdocs
Start following Modules
- Apache
- MySQL
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)