Author Topic: upgrade phpmyadmin to 4.8.4  (Read 10101 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
upgrade phpmyadmin to 4.8.4
« on: January 17, 2019, 10:27:46 PM »
hi all

i don't know is this right or wrong but i upgraded my pma to the last version 4.8.4

what i did?

enter to the SSH root
than

Code: [Select]
cd /usr/local/cwpsrv/var/services

than i changed the pma name to pma2018

Code: [Select]
mv pma pma2018
than i download the last version

Code: [Select]
wget https://www.phpmyadmin.net/downloads/phpMyAdmin-latest-all-languages.zip
unzip phpMyAdmin-latest-all-languages.zip


and i changed the name of phpmyadmin-4.8.( you complete the name of the directory ) to pma
Code: [Select]
mv phpmyadmin-4.8.4( you complete the name of the directory ) pma

and i changed the config.simple.inc.php to config.inc.php
Code: [Select]
mv config.simple.inc.php config.inc.php

its works fine but it showed red problems inside the phpmyadmin
1- $cfg['blowfish_secret']

I wrote strong characters (capital and small letters) numbers and so on insid the ''

Code: [Select]
$cfg['blowfish_secret'] = ''; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */
and i add


Code: [Select]
$cfg['Servers'][$i]['connect_type'] = 'tcp';

under


Code: [Select]
$cfg['Servers'][$i]['host'] = 'localhost';


than i changed the properties of the pma from root to cwpsvc from WinScp


and i restart all server

Code: [Select]
systemctl restart mysql
systemctl restart httpd
systemctl restart sshd
systemctl restart lfd
systemctl restart named
systemctl restart nginx
systemctl restart varnish
systemctl restart dovecot
systemctl restart crond.service
sh /scripts/restart_cwpsrv
csf -r

and reboot the server

if i did right thing please share it with me/us, and if i did something wrong please let me/us know here to correct the wrong one



thanks
Regards

« Last Edit: January 17, 2019, 10:57:07 PM by Mighty Dr.Wolf »

Offline
***
Re: upgrade phpmyadmin to 4.8.4
« Reply #1 on: January 18, 2019, 02:31:07 AM »
Never keep an old and/or vulnerable version of pma on the webserver, visible to the web.
Or remove it, or move it to an area not reachable by the web.
Harassing old versions of phpMyAdmin, in searching for flaws/vulnerabilities, is the most common access on the web.

So, I suggest you replace:
Code: [Select]
mv pma pma2018

by:
Code: [Select]
mv pma ~/pma2018

Regards,
Netino

Offline
*
Re: upgrade phpmyadmin to 4.8.4
« Reply #2 on: January 18, 2019, 11:09:59 PM »
thank you very much
im to happy to see someone give me advice
appreciated
ill now do that

Regards

Offline
**
Re: upgrade phpmyadmin to 4.8.4
« Reply #3 on: December 17, 2019, 03:26:05 PM »
PROBLEM SOLVED

Update phpMyAdmin to the latest phpMyAdmin v4.9.2 for CWP (Centos Web Panel) and CWP PRO (Centos Web Panel Pro) !

Hi, i discovered a great website https://www.mysterydata.com/ with a great administrator where you can find many guides for CWP and more, also by registering for free on the forum i found the solution to this problem thanks to the courtesy and extreme availability of the administrator.

SOLUTION:

Forum topic with solution at MysteryData.com :

https://forum.mysterydata.com/topic/12/how-to-update-phpmyadmin-v4-7-9-outdated-version-to-the-latest-phpmyadmin-v4-9-2-for-cwp-and-cwp-pro-for-centos-7

Guide with solution at MysteryData.com :

https://www.mysterydata.com/how-to-update-phpmyadmin-latest-version-on-cwp-centos-webpanel/

Good day and good work to all !

NOTE:

At the moment with CWP (Centos Web Panel) and CWP PRO (Centos Web Panel Pro) for Centos 7 the autologin function ONLY WORK with the phpMyAdmin v4.7.9 outdated version released on 05 March, 2018.

With this update to phpMyAdmin v4.9.2 which was released on 22 November, 2019 at the moment the autologin function NOT WORK with CWP (Centos Web Panel) and CWP PRO (Centos Web Panel Pro) for Centos 7


« Stay hungry, stay foolish. »