config.rst 90.4 KB

Configuration

Almost all configurable data is placed in :file:`config.inc.php`. If this file does not exist, please refer to the :ref:`setup` section to create one. This file only needs to contain the parameters you want to change from their corresponding default value in :file:`libraries/config.default.php`.

If a directive is missing from your file, you can just add another line with the file. This file is for over-writing the defaults; if you wish to use the default value there's no need to add a line here.

The parameters which relate to design (like colors) are placed in :file:`themes/themename/layout.inc.php`. You might also want to create :file:`config.footer.inc.php` and :file:`config.header.inc.php` files to add your site specific code to be included on start and end of each page.

Note

Some distributions (eg. Debian or Ubuntu) store :file:`config.inc.php` in /etc/phpmyadmin instead of within phpMyAdmin sources.

Warning

:term:`Mac` users should note that if you are on a version before :term:`Mac OS X`, PHP does not seem to like :term:`Mac` end of lines character (\r). So ensure you choose the option that allows to use the *nix end of line character (\n) in your text editor before saving a script you have modified.

Basic settings

Server connection settings

Generic settings

Cookie authentication options

Navigation panel setup

Main panel

Database structure

Browse mode

Editing mode

Export and import settings

Tabs display settings

PDF Options

Languages

Web server settings

Theme settings

Design customization

Text fields

SQL query box settings

Web server upload/save/import directories

Various display setting

Page titles

Theme manager settings

Default queries

MySQL settings

Developer

Warning

These settings might have huge effect on performance or security.