INSTALL PhpMyadmin CentOS 6.5 64bit

By admin at 2017-09-29 • 0 collector • 1379 pageviews

Import the RPMforge GPG key:

# rpm --import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt


# yum -y install http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm


# yum -y install phpmyadmin


# nano /etc/httpd/conf.d/phpmyadmin.conf


*** ใส่ # หน้าบรรทัดตามแบบ ***


>>>>>>>>>>>>>

#

#  Web application to manage MySQL

#


#<Directory "/usr/share/phpmyadmin">

#  Order Deny,Allow

#  Deny from all

#  Allow from 127.0.0.1

#</Directory>


Alias /phpmyadmin /usr/share/phpmyadmin

Alias /phpMyAdmin /usr/share/phpmyadmin

Alias /mysqladmin /usr/share/phpmyadmin

<<<<<<<<<<<<<<<



# nano /usr/share/phpmyadmin/config.inc.php


แก้ cookie เป็น  http


>>>>>>>>>>>>>>>>>>>

[...]

/* Authentication type */

$cfg['Servers'][$i]['auth_type'] = 'http';

[...]

<<<<<<<<<<<<<<<<<<<<


# /etc/init.d/httpd restart


 http://YOUR-IP/phpmyadmin/


Requires Login

Loading...