MRKAVANA (mrkavana@gmail.com) - www.facebook.com/kavanathai

Jul 18, 2011

How to install and configure phpmyadmin on redhat linux or centos linux

First of all add the rpmforge repository to user system. Explained here

Now :

[root@localhost ~]# yum install phpmyadmin

[root@localhost html]# vi /usr/share/phpmyadmin/config.inc.php

And add the blowfish secret,
$cfg['blowfish_secret'] = 'a8b7dafdferHJHJ^&U^45776TIUuiYc6d';

http://127.0.0.1/phpmyadmin/

Now edit the phpmyadmin configuration file for apache

[root@eastonch /]# vi /etc/httpd/conf.d/phpmyadmin.conf


  Order Deny,Allow
  Allow from all #set to allow from all. else you'll get only from localhost.


Restart the apache

[root@localhost ~]#/etc/init.d/httpd restart

Now its accessible from everywhere.

http://Public_Ip_address/phpmyadmin/

No comments:

Post a Comment