Zum Inhalt springen

Konfiguration vom phpMyAdmin

Aus Computech CMS Wiki

PHP Version bei phpmyadmin anpassen

  • PHP Version auf 7.4 lassen:

sudo nano /etc/phpmyadmin/apache.conf

     <FilesMatch \.php$>
    SetHandler "proxy:unix:/var/run/php/php7.4-fpm.sock|fcgi://localhost/"
    </FilesMatch>

Allgemeines

phpMyAdmin wird in der Datei config.inc.php konfiguriert. Alle Optionen mit ihren Defaultwerten sind in libraries/config.default.php zu finden.

Autologin als root User ohne Passwort:

   $cfg['Servers'][$i]['auth_type'] = 'config';
   $cfg['Servers'][$i]['user'] = 'root';
   $cfg['Servers'][$i]['password'] = ;
   $cfg['Servers'][$i]['AllowNoPassword'] = TRUE;
   $cfg['Servers'][$i]['AllowNoPasswordRoot'] = TRUE;

Export mit Kompression, drop table und als Datei:

  $cfg['Export']['compression'] = 'zip';
  $cfg['Export']['asfile'] = true;
  $cfg['Export']['sql_drop_table'] = true;