Databases Reference
In-Depth Information
Manual Creation of config.inc.php
We can create this text file from scratch using our favorite text editor. The exact
procedure depends upon which client operating system we are using; we can refer to
the Tips for Editing config.inc.php on a Windows Client section for further information.
The default value of all the possible configuration parameters that can be located
inside config.inc.php is defined in libraries/config.default.php . We can take
a look at this file to see the syntax used and further comments about configuration.
See the important note about this file in the Upgrading phpMyAdmin section of
this chapter.
Tips for Editing config.inc.php on a Windows
Client
This file contains special characters (Unix-style end of lines), so we must open it with
a text editor that understands this format. If we use the wrong text editor, this file
will be displayed with very long lines.
The best choice is a standard PHP editor. Another choice would be WordPad ,
MetaPad or UltraEdit , but we should be careful not to add any characters (even
blank lines) at the beginning or end of the file. This would disturb the execution of
phpMyAdmin and generate the Cannot send header output... error message. If this
happens, refer to Chapter 19, Troubleshooting and Support .
Each time the config.inc.php file is modified, it will have to be transferred again to
our web space. This transfer might have to be done explicitly with a specific transfer
program, or it might be done by a feature of an editor like HomeSite, Komodo, or
PHPEdit, which can save directly via FTP.
The config.inc.php File
This file contains valid PHP code, defining the majority of the parameters (expressed
by PHP variables) that we can change to tune phpMyAdmin to our own needs. There
are also normal PHP comments in it, and we can comment our changes.
Be careful not to add any blank line at the beginning
or end of the file; this would hamper the execution of
phpMyAdmin.
 
Search WWH ::




Custom Search