安裝 phpmyadmin on centos 5.5

  • Category: 電腦相關
  • Last Updated: Sunday, 28 November 2010 15:34
  • Published: Tuesday, 23 November 2010 20:12
  • Written by sam

1.download http://www.phpmyadmin.net/home_page/downloads.php

2.解壓後放至自己的網頁目錄下 我的是/var/www/html/

3.複製修改 config.sample.inc.php config.inc.php

3.1 改認證方式 $cfg['Servers'][$i]['auth_type'] = 'http';

3.2. 改hostname $cfg['Servers'][$i]['host'] = 'myla.gotdns.com';

4.記得安裝 yum -y install php-mysql

5.重啟一下 service httpd restart

6.可以登入測試了,請記得為它加上密碼!