Upgrading PhpMyAdmin in CentOS Web Panel [CWP]

phpMyAdmin is a free software tool written in PHP, intended to handle the administration of MySQL over the Web. phpMyAdmin supports a wide range of operations on MySQL, MariaDB and Drizzle. Frequently used operations (managing databases, tables, columns, relations, indexes, users, permissions, etc) can be performed via the user interface, while you still have the ability to directly execute any SQL statement.

:Lets Upgrade:

 

1) Make backup of PhpMyAdmin (In case we do anything wrong).

mkdir /home/phpmyadmin_backup
cp -rv /usr/local/apache/htdocs/phpMyAdmin/* /home/phpmyadmin_backup

 

2) Download and extract PhpMyAdmin.

wget https://files.phpmyadmin.net/phpMyAdmin/4.4.14.1/phpMyAdmin-4.4.14.1-all-languages.tar.gz
tar zxvf phpMyAdmin-4.4.14.1-all-languages.tar.gz
cd phpMyAdmin-4.4.14.1-all-languages

 

3) Move all files to old PhpMyAdmin folder.

yes | cp -rv * /usr/local/apache/htdocs/phpMyAdmin/

 

4) Correct permission of all the files.

cd /usr/local/apache/htdocs/phpMyAdmin/
chown -R nobody:nobody *

 

5) Restart Apache.

service httpd restart

 

6) Now login to check version (http://your-ip/phpMyAdmin/)

 

You have successfully upgraded PhpMyAdmin

Bullten

A company providing web hosting solutions around globe...