

So before installing the phpMyAdmin, make sure the Ubuntu universe repository is enabled on your system. In conclusion, you have the latest phpMyAdmin running on your Ubuntu system. In the latest ubuntu 22.04 version, the phpMyAdmin package is available on the official Ubuntu Universe repository. Save the file and access the phpMyAdmin in a web browser.Īll done. define('TEMP_DIR', '/var/lib/phpmyadmin/tmp/') ĭefine('CONFIG_DIR', '/etc/phpmyadmin/')
#PHPMYADMIN UBUNTU UPDATE#
Therefore you need to specify the TEMP_DIR and CONFIG_DIR location under the vendor_config.php file.Įdit vendor_config.php file in your favorite text editor sudo vim /usr/share/phpmyadmin/libraries/vendor_config.phpĪnd update the following values. Sudo mv phpMyAdmin-*/* /usr/share/phpmyadmin/Īs I told the existing phpMyAdmin was installed with Apt package manager. Move this latest directory to the appropriate location. You will see a directory phpMyAdmin-all-languages in the current location. wget unzip phpMyAdmin-latest-all-languages.zip

During last update of this article phpMyAdmin 4.8.5 is latest version available for download. Now, download the latest phpMyAdmin archive file from its official download page. sudo mv /usr/share/phpmyadmin/ /usr/share/phpmyadmin.bak
#PHPMYADMIN UBUNTU INSTALL#
This guide will help you install phpMyAdmin on Ubuntu 18.04 or 20.04, with additional security features.

Installing phpMyAdmin allows management of MySQL databases through a user-friendly interface, instead of entering commands into the terminal. Install phpmyadmin: sudo apt install phpmyadmin php-mbstring php-gettext During the installation you will be asked to choose your web server (apache2) and if you want to use dbconfig-common to configure the db, finally the password for phpmyadmin will be requested. However, I have just renamed it to phpmyadmin.bak at the same location. phpMyAdmin is a free application for managing a MySQL server. You should take a back up of your current phpMyAdmin directory.
