PhpMyAdmin configuration

PhpMyAdmin configuration

Posted By: pmietlicki

Published to Dev on Mar 24, 2017

The easiest thing is to modify auth_type to http :

$cfg['Servers'][$i]['auth_type'] = 'http';

Inside the configuration file, you can change this setting :


Some examples :

'all' ->
'localhost' ->
'localnetA' -> SERVER_ADDRESS/8
'localnetB' -> SERVER_ADDRESS/16
'localnetC' -> SERVER_ADDRESS/24

//block root from logging in except from the private networks
$cfg['Servers'][$i]['AllowDeny']['order'] = 'deny,allow';
$cfg['Servers'][$i]['AllowDeny']['rules'] = array(
 'deny root from all',
 'allow root from localhost',
 'allow root from',
 'allow root from',
 'allow root from',

Tags: php