Author Topic: Upgrade PhpMyAdmin  (Read 10999 times)

0 Members and 1 Guest are viewing this topic.

Upgrade PhpMyAdmin
« on: March 22, 2015, 06:30:13 PM »
The tutorial below will help you to upgrade PhpMyAdmin
https://blog.bullten.com/upgrading-phpmyadmin-in-centos-web-panel-cwp/

Offline
*
Re: Upgrade PhpMyAdmin
« Reply #1 on: March 31, 2015, 03:03:13 PM »
You may want to mention that this requires mysql 5.5+ otherwise you will break phpmyadmin if you try this on the default mysql which ships with CWP

Offline
*
Re: Upgrade PhpMyAdmin
« Reply #2 on: March 31, 2015, 05:05:05 PM »
in /scripts folder on every server you have script which will upgrade MySQL and phpMyAdmin.
AntiDDoS Protection (web + mail)
http://centos-webpanel.com/website-ddos-protection-proxy

Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp


Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Do you need Fast and FREE Support included for your CWP linux server?
http://centos-webpanel.com/noc-partner-list
Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Re: Upgrade PhpMyAdmin
« Reply #3 on: April 01, 2015, 03:03:59 AM »
Even mysql upgrade article is available so one can do that too.

Offline
*
Re: Upgrade PhpMyAdmin
« Reply #4 on: August 29, 2022, 09:04:44 AM »
in /scripts folder on every server you have script which will upgrade MySQL and phpMyAdmin.
At this moment "upgrade_mysql" script is too old and outdated because it checks for MYSQL 5.5 instead of MariaDB and phpMyAdmin 4.x

=======================================================
So, here is a manual command for upgrade to the latest phpMyAdmin:

Go to directory
Code: [Select]
cd /usr/local/cwpsrv/var/services
Make a backup of the old phpMyAdmin into the root directory and pma folder
Code: [Select]
mv pma /root/
Download the latest phpMyAdmin
Code: [Select]
wget https://www.phpmyadmin.net/downloads/phpMyAdmin-latest-all-languages.zip
Unzip the downloaded archive
Code: [Select]
unzip phpMyAdmin-latest-all-languages.zip
Remove the downloaded archive, it's important to remove it now!
Code: [Select]
rm -rf phpMyAdmin-latest-all-languages.zip
Rename the "phpMyAdmin" folder to "pma"
Code: [Select]
mv phpMyAdmin-* pma
Delete the included stock config file, it's important!
Code: [Select]
rm -rf pma/config.sample.inc.php
Copy the old CWP config file from the backup to the new phpMyAdmin
Code: [Select]
cp /root/pma/config.inc.php /usr/local/cwpsrv/var/services/pma/
Fix permissions on the files and folders
Code: [Select]
chown -R cwpsvc:cwpsvc pma
Tested and works fine.

Offline
*
Re: Upgrade PhpMyAdmin
« Reply #5 on: December 11, 2022, 06:49:16 PM »
Thanks,
I have managed to upgrade to the new version of phpmyadmin
but after 24 hours the script reverts back to the old one again.

What am I doing wrong?
Thanks for the reply

Offline
*
Re: Upgrade PhpMyAdmin
« Reply #6 on: January 22, 2023, 07:18:37 PM »
^^^^  BUMP PLEASE  ^^^^

Offline
**
Re: Upgrade PhpMyAdmin
« Reply #7 on: January 22, 2023, 08:37:51 PM »
Things I don't want tidied up/reverted behind my back simply get a
Code: [Select]
chattr +i <file>or
Code: [Select]
chattr +i <directory>So in this case:
Code: [Select]
chattr +i /usr/local/cwpsrv/var/services/pma/