How to install phpMyAdmin in Windows server?

This article explains how to install phpMyAdmin on a Windows Server. First, install PHP and configure it with your web server. Next, download the latest phpMyAdmin package and prepare its configuration file. Then, place the phpMyAdmin folder in your web root and create a website pointing to it. After that, open a port in Windows Firewall so it's accessible from a browser. Finally, visit the login page, enter your MySQL credentials, and start managing databases.

Step 1: Install PHP on Windows Server

To install phpMyAdmin, you need PHP first.

  • Download and install PHP 7.1 (or newer) using Microsoft Web Platform Installer.
  • Make sure PHP is properly configured with your web server (IIS or Apache).
    1-install-php

Step 2: Download phpMyAdmin

  • Go to the official phpMyAdmin website: phpMyAdmin Downloads
  • Download the latest stable version (for example, phpMyAdmin 5.0.4).
  • This version is compatible with PHP 7.1+ and MySQL 5.5+.
    2-download

Step 3: Configure phpMyAdmin

  1. Extract the downloaded phpMyAdmin package.
  2. Inside the folder, rename "config.sample.inc.php" to "config.inc.php"
    3.1-rename
  3. Move the phpMyAdmin folder to your web root (for example, C:\inetpub\wwwroot\phpMyAdmin).
  4. Create a new IIS or Apache website manually, pointing it to the phpMyAdmin folder.
    3.2-create-a-website

Step 4: Open Port in Windows Firewall

To access phpMyAdmin from a browser, you need to open a port.

  • Example: Open port 8085 in Windows Firewall.
  • Run the following test in your browser: http://:8085/
    3.3-open-port
    If everything is configured correctly, you will see the phpMyAdmin login page.

Step 5: Test phpMyAdmin Login

  • Enter your MySQL root username and password
  • Once logged in, you can start creating and managing databases.
    3.4-test
    3.4.2-test
Keywords:

install phpmyadmin, phpmyadmin installation tutorial, digitalocean phpmyadmin ubuntu 20.04, how to install phpmyadmin in ubuntu 20.04 step by step, how to install phpmyadmin on windows, install apache php mysql phpmyadmin windows, install phpmyadmin windows, install phpmyadmin windows server 2016, install phpmyadmin windows server 2019, phpmyadmin for windows, install apache php mysql phpmyadmin windows, install phpmyadmin windows server 2016, install phpmyadmin windows server 2019

Last Updated:   11/19/2026
Outline