phpMyAdmin tips

After installing your web server (Apache, SQL (mariadb, mysql, …) and PHP) with yum/dnf/apt you may need to install phpMyAdmin which can be usefull to manage databases…

In your /etc/http/conf.d/phpMyAdmin.conf (for CentOS7.4 and maybe other versions) modify each line beggining with « Requipe ip » and adjust with the IP address of your server. Very needed if you manage dedicated servers rent from web hosters

By default (yum install…) phpMyAdmin is installed in /usr/share. Since I want to let other people manage disk space of the web server (create new directories, …), I moved the directory to /var/www and chown everything with my « webadmin » group. And don’t forget to change paths in /etc/httpd/conf.d/phpMyAdmin.conf !