To simplify phpMyAdmin configuration,
we consider it is to be installed on the same host as the MySQL
database, so localhost will be used for communication and no
encryption will be set.
[x] BZ2 PHP bzip2 library support
[x] CURL PHP curl support
[x] GD PHP GD library support (requires X11)
[x] GMP PHP GMP library support
[x] MBSTRING PHP Multi-byte String support
[x] OPCACHE PHP Opcache support
[x] OPENSSL PHP OpenSSL support
[x] SODIUM PHP libsodium support (only available for PHP >= 7.2)
[x] ZIP PHP Zip compression support
[x] ZLIB PHP ZLIB support
Basic
The following information will be added in the config.inc.php file:
config.inc.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* Global configuration */$cfg['blowfish_secret']='use_your_own_random_string';/* Servers configuration */$i=0;/* First serveur */$i++;$cfg['Servers'][$i]['socket']='/tmp/mysql.sock';//$cfg['Servers'][$i]['host' ] = '127.0.0.1';$cfg['Servers'][$i]['extension']='mysqli';$cfg['Servers'][$i]['connect_type']='tcp';//$cfg['Servers'][$i]['ssl' ] = false; // Enable if SSL required$cfg['Servers'][$i]['compress']=false;$cfg['Servers'][$i]['auth_type']='cookie';
Advanced
It possible to enable extra features of phpMyAdmin, by using a
dedicated database, this table will be named phpmyadmin, creation and
access rights are done as follow:
Creating database and the required tables
1
mysql -p < /usr/local/www/phpMyAdmin/examples/create_tables.sql