phpMyAdmin-4.2.8.1-all-languages安装
1、下载phpMyAdmin-4.2.8.1-all-languages
成都创新互联主要从事网站设计、网站建设、网页设计、企业做网站、公司建网站等业务。立足成都服务仪征,10年网站建设经验,价格优惠、服务专业,欢迎来电咨询建站服务:18982081108
wget http://jaist.dl.sourceforge.net/project/phpmyadmin/phpMyAdmin/4.2.8.1/phpMyAdmin-4.2.8.1-all-languages.zip
2、修改apache的根目录
vi /usr/local/httpd/conf/http.conf
找到DocumentRoot 修改为DocumentRoot "/var/www/html"
service httpd restart
3、安装phpmyadmin
tar zxvf phpMyAdmin-4.2.8.1-all-languages.zip
mv phpMyAdmin-4.2.8.1-all-languages phpmyadmin
mv phpmyadmin /var/www/html
cp /var/www/html/phpmyadmin/config.sample.inc.php /var/www/html/phpmyadmin/config.inc.php
chmod 660 /var/www/html/phpmyadmin/config.inc.php
chown -R apache.apache /var/www/html/phpmyadmin
vi /usr/local/httpd/conf/extra/phpmyadmin.conf 输入以下内容
Alias /phpMyAdmin /var/www/html/phpMyAdmin
Order deny,allow
# Deny from all
Allow from all
vi /usr/local/httpd/conf/http.conf 加入以下内容
Include conf/extra/phpmyadmin.conf
4、重启服务
service httpd restart
http://ip/phpMyAdmin/ 用户名密码与MySQL相同
网站题目:phpMyAdmin-4.2.8.1-all-languages安装
转载来源:http://ybzwz.com/article/gdeipc.html