← Volver al blog

How to Install PHPMyAdmin

  • Xernode
  • 1 min de lectura
  • 11 de abril de 2026
Database mysql ubuntu vps mariadb database phpmyadmin web-interface

Introduction

phpMyAdmin is a popular web-based tool for managing MySQL and MariaDB databases. This guide shows you how to install phpMyAdmin on your Ubuntu VPS.

Step-by-step Guide

  1. Update your package list
    • sudo apt update
  2. Install phpMyAdmin
    • sudo apt install -y phpmyadmin
  3. During installation, select your web server (usually Apache) and configure the database.
  4. Enable the phpMyAdmin configuration in Apache
    • sudo ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf-available/phpmyadmin.conf
    • sudo a2enconf phpmyadmin
    • sudo systemctl reload apache2
  5. Access phpMyAdmin in your browser
    • http://your_server_ip/phpmyadmin
  6. Log in with your MySQL/MariaDB credentials.

Recommendations

  • Secure phpMyAdmin by restricting access or using .htpasswd authentication.
  • Regularly update phpMyAdmin for security.
  • Use strong passwords for all database users.

Call To Action

eed a VPS for your database projects? Check out our hosting plans: https://xernode.com/#pricing

Related Guides