Blog

How to Install phpMyAdmin on Ubuntu 18.04

Working with a database can be intimidating at times, but phpMyAdmin can simplify tasks by providing a control panel to view or edit your MySQL or MariaDB database.  In this quick tutorial, we’ll show you how to install phpMyAdmin on an Ubuntu 18.04 server.

 

Pre-flight

 

Step 1: Update the apt package tool to ensure we are working with the latest and greatest.

apt update && upgrade

 

Step 2: Install phpMyAdmin and PHP extensions for managing non-ASCII string and necessary tools.

apt install phpmyadmin php-mbstring php-gettext

During this installation you’ll be asked for the webserver selection, we will select Apache2 and select ENTER.

In this step, you have the option for automatic setup or to create the database manually. For us, we will do the automatic installation by pressing ENTER for yes.

At this setup, you’ll be asked to set the phpMyAdmin password. Specifically for the phpMyAdmin user, phpmyadmin,  you’ll want to save this in a secure spot for later retrieval.

Step 3:  Enable PHP extension.

phpenmod mbstring

 

Note
If you’re running multiple domains on one server then you’ll want to configure your /etc/apache2/apache2.conf to enable phpMyAdmin to work.

vim /etc/apache2/apache2.conf

Add:

Include /etc/phpmyadmin/apache.conf

Step 4:  Restart the Apache service to recognize the changes made to the system.

systemctl restart apache2

 

Step 5: Verify phpMyAdmin installation by going to http://ip/phpmyadmin (username phpmyadmin).

Still having issues installing?  Our Liquid Web servers come with 24/7 technical support. You can open a ticket with us right away at [email protected], give us a call at 800-580-4985 or, open a chat with us to speak to one of our Level 3 Support Admins or a Solutions Advisor today!

Related posts

Thiên nga vươn cổ dài trên đồng cỏ xanh mướt

admin

Trẻ thông minh ít bị chấn thương tinh thần

admin

Phát hiện mới về hoạt động hố đen

admin

Làm mát hành tinh bằng cách trồng đúng loại cây

admin

Số lượng răng thật liên quan đến bệnh tim mạch

admin

Ăn nhiều cà chua có khả năng tăng miễn dịch

admin

Hồ ở Hà Nội: Lá phổi xanh đang bị gặm nhấm

admin

Hình ảnh 3D đầu tiên về trạm vũ trụ quốc tế

admin

Tích hợp netbook lên robot

admin

Leave a Comment