{"id":8745,"date":"2020-07-01T07:47:44","date_gmt":"2020-07-01T11:47:44","guid":{"rendered":"http:\/\/local.brightwhiz\/?p=8745"},"modified":"2021-12-04T08:25:03","modified_gmt":"2021-12-04T08:25:03","slug":"install-latest-phpmyadmin-ubuntu-20-04","status":"publish","type":"post","link":"http:\/\/local.brightwhiz\/install-latest-phpmyadmin-ubuntu-20-04\/","title":{"rendered":"How to Install the Latest phpMyAdmin on Ubuntu 20.04"},"content":{"rendered":"\n

This tutorial will guide you in your quest to install the latest phpMyAdmin on your Ubuntu system.<\/p>\n\n\n\n

phpMyadmin is probably the best freely available web-based MySQL<\/a> and MariaDB<\/a> administration application. You can download and install on your server running PHP and a server like Apache<\/a>, Nginx<\/a>, or IIS<\/a> among others.<\/p>\n\n\n\n

Prerequisites<\/h2>\n\n\n\n

We are assuming you already have installed the MySQL server on your Ubuntu<\/a> system. In this case, we will be using Ubuntu 20.04. We will also assume you have Apache, PHP<\/a>, and a non-root user with sudo<\/em> privileges, as well as a firewall configured with ufw<\/em>. This tutorial about the LAMP stack<\/a> will help you install the necessary prerequisites.<\/p>\n\n\n\n

We will also recommend you have an existing domain configured with an SSL\/TLS certificate. This is because phpMyAdmin communicates directly with your MySQL installation, uses MySQL credentials to authenticate as well as create users, databases, and their objects, as well as executes and returns results for SQL queries.<\/p>\n\n\n\n

If you have the above in place you are ready to proceed.<\/p>\n\n\n\n

Default Step (Optional) \u2014 Installing phpMyAdmin<\/h2>\n\n\n\n

PhpMyAdmin can be installed from the default Ubuntu repositories. This will not install the latest available phpMyAdmin version. The steps to install the latest phpMyAdmin will be highlighted later in this tutorial.<\/p>\n\n\n\n

The process involves updating your server’s package index and then using apt install them on your Ubuntu system. Use the following commands:<\/p>\n\n\n\n

$ sudo apt update\n$ sudo apt install phpmyadmin php-mbstring php-gettext<\/code><\/pre>\n\n\n\n

php-mbstring<\/em> and php-gettext<\/em> extensions will only be installed if they are not already installed.<\/p>\n\n\n\n

Follow the prompts in order to configure your installation correctly with the following hints:<\/p>\n\n\n\n