Install phpmyadmin on Centos Print

  • 0

In order for phpmyadmin to work, you must install all component needed by phpmyadmin

Component needed

  • Apache 2.X
  • PHP 5.1 / 5.2 depend on phpmyadmin version
  • mysql 5.x (must create mysql root pass before proceed)

Update your system to the latest version

# yum update

 

Download the latest version phpmyadmin

cd /var/www/html
wget http://puzzle.dl.sourceforge.net/sourceforge/phpmyadmin/phpMyAdmin-2.6.4-pl1.tar.gz
tar -xvzf phpMyAdmin-2.6.4-pl1.tar.gz
mv phpMyAdmin-2.6.4-pl1.tar.gz phpmyadmin
rm phpMyAdmin-2.6.4-pl1.tar.gz
chown -R apache:apache phpmyadmin
chmod -R 0700 phpmyadmin
cd phpMyAdmin
mv config.inc.sample.php config.inc.php
nano config.inc.php

Change line below

$cfg['Servers'][$i]['auth_type'] = ‘http‘; # default is cookies

 

Restart apache

service httpd restart

 

Note: phpmyadmin username is root and password is mysql root pass


Was this answer helpful?

« Back