Discussion in 'Installation/Configuration' started by mhasan, Jul 21, 2011.

  1. mhasan

    mhasan New Member

    I'm new to both ISPConfig 3 & phpMyAdmin. I want deny root user for phpMyAdmin. To do so I have added following line to /etc/phpmyadmin/

    $cfg['Servers'][$i]['AllowRoot'] = FALSE;
    But I'm still able to login as root user. Please someone tell me what I'm missing.

    Thanks in advance.
  2. erosbk

    erosbk New Member

    I am using Debian, what distro do you use? I don't know if conf files of pma are or not case sensitive, but I have it working for me with this line in /etc/phpmyadmin/

    $cfg['Servers'][$i]['AllowRoot'] = false;

    Modify it and next try to reload/restart apache2.
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    Make sure that you closed your browser one after you edited that config. Othewise the old phpmyadmin configuration might be still cached in the session. Beside that, make sure that you added that line at the correct place in the config file, so that it applies to the config instance that connects to localhost.
  4. CSsab

    CSsab New Member

    Allow root access to phpmyadmin from local networks only

    I added these to my phpmyadmin config:

    // Allow root access from local networks only
    $cfg['Servers'][$i]['AllowDeny']['order'] = 'deny,allow';
    $cfg['Servers'][$i]['AllowDeny']['rules'] = array(
    'deny root from all',
    'allow root from localhost',
    'allow root from',

    Change the red to suit your local network
  5. mhasan

    mhasan New Member

    I'll try & let you know guys. Thanks a lot.

Share This Page