wget -c http://sourceforge.net/projects/phpmyadmin/files/phpMyAdmin/3.4.9/phpMyAdmin-3.4.9-english.tar.gz /download2. Extract the files
tar xvfz phpMyAdmin-3.4.9-english.tar.gz3. move the extracted files to proper location
mv phpMyAdmin-3.4.9-english.tar.gz /var/www/html/phpmyadmin4. cd /var/www/html/phpmyadmin
5. Make a copy of configuration files
cp config.sample.inc.php config.inc.php6. Modify the values vi config.inc.php
$cfg['Servers'][$i]['auth_type']=’cookie’; to $cfg['Servers'][$i]['auth_type']=’http’;7. Restart apache from any of command
service httpd restart – Work for me8. Open browser on server
/etc/init.d/httpd restart
http://localhost/phpMyAdminYou may end in following errors
1. 404 Not Found Error
Please make sure you push your phpMyAdmin directory in your webroot. In my case it’s /var/www/html
2. 403 Forbidden Error
I spend good amount of time finding why access is forbidden and finally did following setting
2.1 Go to /etc/httpd/conf.d/Still not able to access, try disabling the SElinux
2.2 vi phpMyAdmin.conf
2.3 Add following lines
Order allow,deny
Options Indexes
Allow from all
SElinux is extra security layer in Linux and sometimes it provide conflicts for apache to work
- vi /etc/selinux/config
- Modify SELINUX=enforcing to SELINUX=disabled //Discuss with your senior. Mine is test server.
- Restart your machine
Source:pritisoulanki