To install XAMPP on a Windows system, follow these steps:
Step 1: Download PHP 8+
Step 2: Unzip to a fixed folder
Step 3: Add PHP to PATH
Step 4: Edit php.ini
C:\PHP
C:\PHP\php.exe
Select Environmental
Select Path and Click Edit
Click New
Type C:\php , click ok and save it
Open a new PowerShell/Terminal and check:
php -v
Output:
PHP 8.4.11 (cli) (built: Jul 29 2025 18:02:29) (NTS Visual C++ 2022 x64) Copyright (c) The PHP Group Zend Engine v4.4.11, Copyright (c) Zend Technologies
php.ini
php.ini-development
→ rename tophp.ini
Open php.ini
in notepad and make these changes (search and edit):
; point PHP to the extensions folder extension_dir = "ext" ; enable common extensions (remove the leading ;) extension=curl extension=mbstring extension=openssl extension=pdo_mysql extension=mysqli extension=fileinfo extension=zip extension=intl ; set your timezone date.timezone = Asia/Kolkata
RELATED TOPICS
Install node js on Windows
Easily set up Node.js on your Windows system with our step-by-step guide and images. Perfect for beginners to start coding with Node.js in minutes.
Install Java on windows
Quickly install Java JDK on your Windows computer with our simple step-by-step guide and screenshots. Perfect for beginners to start coding in Java right away.
Install XAMPP on windows
Easily install XAMPP on your Windows computer with our beginner-friendly guide and screenshots. Set up Apache, MySQL, and PHP in just a few minutes.
Install php on Windows
This tutorial explains how to install PHP on Windows directly, without using XAMPP. You’ll learn how to download PHP from the official site, configure the PATH environment variable, and verify installation. This setup is essential if you’re working with frameworks like Laravel, Symfony, or plain PHP projects.
Install composer on Windows
Composer is a dependency manager for PHP that makes it easy to install and manage PHP libraries and frameworks like Laravel, Symfony, or CodeIgniter. On Windows, installing Composer is simple using the Composer-Setup.exe installer. Once installed, you can use the composer command from any terminal or command prompt to manage your PHP projects efficiently.
Install mysql on Windows
MySQL is one of the most popular open-source relational database management systems. Installing MySQL on Windows is easy using the MySQL Installer. The installer allows you to set up MySQL Server, Workbench, and other tools. Once installed, you can create and manage databases, connect with PHP or other applications, and configure root user credentials. This step-by-step setup ensures MySQL runs smoothly on your Windows machine.