您的位置:首页 > 博客中心 > 数据库 >

安装Mysqlphpadmin

时间:2022-03-10 17:36

安装phpmyadmin通过web管理Mysql,所以需要的支持;

[1]Install phpMyadmin form to repositories

# yum --enablerepo=epel -y install phpMyAdmin php-mysql php-mcrypt
# vim /etc/httpd/conf.d/phpMyAdmin.conf
Alias /phpMyAdmin /usr/share/phpMyAdmin
Alias /phpmyadmin /usr/share/phpMyAdmin

<Directory /usr/share/phpMyAdmin/>
   <IfModule mod_authz_core.c>
     # Apache 2.4
     <RequireAny>
       Require ip 127.0.0.1
       Require ip ::1
     </RequireAny>
   </IfModule>
   <IfModule !mod_authz_core.c>
     # Apache 2.2
     Order Deny,Allow
     Deny from All
     Allow from 127.0.0.1 192.168.1.0/24 192.168.2.0/24    # Add your allow  access ip range
     Allow from ::1
   </IfModule>
</Directory>

[2]Restart Httpd Server

# /etc/rc.d/init.d/httpd restart
Stopping httpd:                                            [  OK  ]
Starting httpd:                                            [  OK  ]

[3]Access to "

gxlsystem.com,布布扣

本文出自 “” 博客,请务必保留此出处

安装Mysqlphpadmin,布布扣,bubuko.com

热门排行

今日推荐

热门手游