phpMyAdmin configuration is normally stored in config.inc.php, and the file's location varies depending on the distribution.
The table below lists some of the possible locations.
Platform / Distribution | Location |
---|---|
Ubuntu / Debian | /etc/phpmyadmin/config.inc.php |
RedHat / CentOS | /etc/phpMyAdmin/config.inc.php |
Web download | {base installation directory}/config.inc.php |
If the config.inc.php does not exist or if a specific configuration is absent from the file, default values are used instead.

Author: Mohd
Shakir Zakaria
Mohd Shakir Zakaria is a cloud architect with deep roots in software development and open-source advocacy. Certified in AWS, Red Hat, VMware, ITIL, and Linux, he specializes in designing and managing robust cloud and on-premises infrastructures.

Mohd Shakir Zakaria is a cloud architect with deep roots in software development and open-source advocacy. Certified in AWS, Red Hat, VMware, ITIL, and Linux, he specializes in designing and managing robust cloud and on-premises infrastructures.
Discuss the article:
Comment anonymously. Login not required.