Apache VCL logo Apache Software Foundation logo
Apache current event

phpMyAdmin Installation & Configuration


phpMyAdmin is a free and optional tool which allows MySQL or MariaDB to be administered using a web browser. It makes administering the VCL database easier. This tool can be installed on the VCL web server.
  1. Install phpMyAdmin via the yum package manager. Tested on clean installs of CentOS, Red Hat versions 6 and 7

    1. phpMyAdmin is in the extras repository, use epel-release package to add this repo

      yum -y install epel-release 
      
    2. Install phpMyAdmin

      yum -y install phpMyAdmin
      
    3. Move the phpMyAdmin directory to the web server directory:

      mv /usr/share/phpMyAdmin /var/www/html/phpMyAdmin
      
    4. Edit /etc/httpd/conf.d/phpMyAdmin.conf with your favorite editor. Replace the paths created by the yum install, change each “/usr/share/phpMyAdmin” with /var/www/html/phpMyAdmin or use this sed command

      sed -i "s|/usr/share/|/var/www/html/|g" /etc/httpd/conf.d/phpMyAdmin.conf