miercuri, 26 mai 2010

How to install phpmyadmin in Centos Linux Server 5

In next how to i will show you install phpmyadmin in Centos Linux Server.

First be sure you are install dag repo or dimi.


# yum install phpmyadmin

Now have to edit /usr/share/phpmyadmin/config.inc.php

$cfg['Servers'][$i]['auth_type'] = ‘http‘; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */

Next file you have to edit is /etc/http/conf.d/phpmyadmin.conf, and change the line:

# Allow from 127.0.0.1
Allow from 192.168.1.0/24

Now change the rights for apache

# chown -R root:apache /usr/share/phpmyadmin


Restart apache:

/etc/init.d/httpd restart


And now phpmyadmin is ready to use.

http://your.domain.com/phpmyadmin

You should be find pop up for insert your user name and password.

Niciun comentariu: