Database Reference
In-Depth Information
Every time the config.inc.php file is modified, it will have to be transferred again
to our webspace. This transfer is done via an FTP or an SFTP client. You have the
option to use a standalone FTP/SFTP client such as FileZilla, or save directly via
FTP/SFTP if your PHP editor supports this feature.
Description of some configuration parameters
In this chapter and the next one, we will concentrate on the parameters that deal with
connection and authentication. Other parameters will be discussed in the chapters
where the corresponding features are explained.
PmaAbsoluteUri
The first parameter we will look at is $cfg['PmaAbsoluteUri'] = '';
PMA is a familiar abbreviation for phpMyAdmin . For configuration parameters,
the chosen convention is to capitalize the first letter, producing Pma in this case. At
some places in its code, phpMyAdmin sends an HTTP Location header and must
know the absolute URI of its installation point. Using an absolute URI in this case is
required by RFC 2616, section 14.30.
In most cases, we can leave this one empty, as phpMyAdmin tries to auto-detect the
correct value. If we browse a table later, and then edit a row and click Save , we will
receive an error message from our browser saying, for example, This document does
not exist . This means that the absolute URI that phpMyAdmin built in order to reach
the intended page was wrong, indicating that we must manually put the correct
value in this parameter.
For example, we would change it to:
$cfg['PmaAbsoluteUri'] = 'http://www.mydomain.com/phpMyAdmin/';
Server-specific sections
The next section of the file contains server-specific configurations, each starting with:
$i++;
$cfg['Servers'][$i]['host'] = '';
 
Search WWH ::




Custom Search