Home WebServer PanelDirectAdmin How to install phpMyAdmin 5 on the old DirectAdmin server

How to install phpMyAdmin 5 on the old DirectAdmin server

by Thạch Phạm
Published: Last Updated on
A+A-
Reset

In this tutorial, AZDIGI will show you how to install phpMyAdmin 5 on your old DirectAdmin server.

I. Introduction

In January 2021, most newly installed DirectAdmin systems were running phpMyAdmin 5.0.4.

However, some DirectAdmin systems installed many years ago can only be updated to phpMyAdmin 4.9.7. Often, I find servers running CentOS 6 or CentOS 5 encounter this situation.

install-phpmyadmin-5-on-the -old-directadmin-system
The version of phpMyAdmin in use is the latest version of version 4, but cannot be upgraded to version 5

To fully support the latest features, we should use the latest version of phpMyAdmin.

You can see the changes from the phpMyAdmin version at the following link:

II. Install phpMyAdmin 5 on DirectAdmin server

To install phpMyAdmin 5 on the DirectAdmin server, follow these 3 steps.

Step 1: SSH into your DirectAdmin system

To install phpMyAdmin 5 on the DirectAdmin server, we first need to SSH or access your VPS/server with root privileges. If you don’t know how to SSH into your VPS/Server, you can refer to the following tutorial:

After successfully SSH, we continue with step 2 to perform the phpMyAdmin 5 installation commands on the old DirectAdmin server.

Step 2: Commands to install phpMyAdmin 5 on the old DirectAdmin server

First, we need to check what version of phpMyAdmin on the server is configured with the following command:

AZDIGI Tutorial
cd /usr/local/directadmin/custombuild/
cat options.conf | grep phpmyadmin_ver
    

Explanation of the two commands above:

  • Command 1: Move to the custombuild folder.
  • Command 2: Check what version of phpMyAdmin is being configured.
install-phpmyadmin-5-on-the -old-directadmin-system
The phpMyAdmin version being configured is 4.

In case your phpmyadmin_ver versions are not 5 then you use the following command to change to version 5.

AZDIGI Tutorial
./build set phpmyadmin_ver 5
    

You will get a message that phpmyadmin_ver has been changed from the old version to version 5 as below:

install-phpmyadmin-5-on-the -old-directadmin-system
Reconfigured phpMyAdmin version is 5

After you have updated version 5, you need to run the following two commands to install this version.

AZDIGI Tutorial
./build update
./build phpmyadmin
    

Explanation of the two commands above:

  • Command 1: Update custombuild script.
  • Command 2: Install the latest version of phpMyAdmin 5.

Since phpMyAdmin is so lightweight, the installation of the new version is speedy and has almost no problems.

Below is my screen after running the installation command:

install-phpmyadmin-5-on-the -old-directadmin-system
Install the latest version of phpMyAdmin 5.

So we have successfully installed phpMyAdmin 5 on the old DirectAdmin server. You can check the installed version of phpMyAdmin with the following command:

AZDIGI Tutorial
./build versions | grep phpmyadmin
    

Or simply go to the phpMyAdmin interface to see as shown below:

install-phpmyadmin-5-on-the -old-directadmin-system
The version of phpMyAdmin you are using is the latest.

III. Summary

Hopefully, this article on installing phpMyAdmin 5 on an old DirectAdmin server will help you solve your problems.

Wishing you success!

See more useful articles about DirectAdmin at the following link:

If you need assistance, you can contact support in the ways below:

Đánh giá

Tham gia nhóm hỗ trợ Server - Hosting

Tham gia nhóm Hỗ trợ Server - Hosting & WordPress để cùng nhau hỏi đáp và hỗ trợ các vấn đề về WordPress, tối ưu máy chủ/server.

Tham gia ngay

Bài viết cùng chuyên mục

AZDIGI – Không chỉ là đơn vị hàng đầu trong lĩnh vực Web Hosting và Máy chủ, chúng tôi mong muốn mang lại những kiến thức bổ ích nhất và luôn cập nhật thường xuyên cho cộng đồng người đam mê thiết kế website, công nghệ,…

Vui lòng không sao chép nội dung nếu chưa xin phép. Designed and Developed by PenciDesign