Skip to content

preconfigure $cfg['UploadDir'] and $cfg['SaveDir']

We could provide a configuration for the config-directives UploadDir and SaveDir to something useful.

Fedora/RHEL is setting them to /var/lib/phpMyAdmin/upload and /var/lib/phpMyAdmin/save.

  1. I don't like the camelcase
  2. I usually configure it to /var/backups/phpmyadmin for both. Because that's what I use the save-dir for. I also like it, when I can easily import formerly exported files because UploadDir and SaveDir is configured to the same directory
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information