Let’s auto-install the latest phpMyAdmin with one command

I created a script, which will automatically fetch, install and configure the phpMyAdmin to your Ubuntu machine.

The version that exists in the default repository of Ubuntu is very old. And every time manually download and configure the phpMyAdmin is a pain. So using bash programming I just automate the whole process. Check out the script from here.

All you need is to run the following command to install phpMyAdmin:

curl -sL | sudo bash -

Note: Please remove previously installed phpMyAdmin first using sudo apt remove phpmyadmin.

This script also can be used to upgrade phpMyAdmin. Just run again when a new version will come.

You can also check out my “How to create a LAMP server for PHP development“, you will find some common bugs solution related to phpMyAdmin and other LAMP stacks.



One thought on “Let’s auto-install the latest phpMyAdmin with one command

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.