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

0 Members and 1 Guest are viewing this topic.

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

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]

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 to
Code: [Select]

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';


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


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

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

Code: [Select]
mv pma ~/pma2018


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
ill now do that