Control Web Panel
		WebPanel => CentOS-WebPanel Bugs => Topic started by: n8v8r on January 27, 2018, 07:24:31 PM
		
			
			- 
				CentOS Linux release 7.4.1708 (Core) 
 Kernel Version: 3.10.0-693.17.1.el7.x86_64
 Apache version: Apache/2.4.29
 PHP version: 5.6.30
 MySQL version: 10.1.30-MariaDB
 
 phpMyAdmin installed Version information: 4.6.6 , latest stable version: 4.7.7
 
 phpMyAdmin 4.7.7
 Released 2017-12-23.
 
 Welcome to phpMyAdmin 4.7.7, a regular maintenance release containing bug fixes and a security fix.
 
 The security vulnerability is a XSRF/CSRF flaw; you can read more at https://www.phpmyadmin.net/security/PMASA-2017-9/
 As a result of this, we recommend all users upgrade immediately.
 
- 
				Why not manually updating it?
			
- 
				why not automatically updated by CWP, or at least adding the repo automatically and let yum-cron take care? ???
			
- 
				phpMyAdmin is apparently not a yum package but a scripted installation by CWP. Hence it can be expected that CWP feeds those apps installed by script frequently, in particular with security patches
			
- 
				Once can create a bash script to install phpmyadmin auomatically
 
 yum install composer -y
 git clone https://github.com/phpmyadmin/phpmyadmin.git
 cd phpmyadmin
 yes | cp -rv * /usr/local/cwpsrv/var/services/pma/
 cd /usr/local/cwpsrv/var/services/pma/
 chown -R cwpsvc:cwpsvc *
 composer update
 service cwp-phpfpm restart
 
- 
				yes indeed, that did the update  :D Thank you
 
 Is the git clone permanent on the hard disk somewhere because I cannot trace it now? Ran git clone from / but it does not show there or in /root and I would like to exercise some sanity on the disk
 
 
- 
				cd /root/phpmyadmin
			
- 
				Maybe this could offered as option in the GUI (script via cron) to run monthly, basically a set and forget for the user
			
- 
				As suggested by @bullten running it as as script through cron bi-weekly. Would be good to have an update option incorporated into the SQL section of the root panel