本文共 447 字,大约阅读时间需要 1 分钟。
sudo apt-get install apache2
sudo apt-get install php5 libapache2-mod-php5
sudo /etc/init.d/apache2 restart
sudo apt-get install mysql-server
sudo apt-get install libapache2-mod-auth-mysql php5-mysql phpmyadmin
cp /etc/phpmyadmin/apache.conf /etc/apache2/sites-available/phpmyadmin
cd /etc/apache2/sites-enabled/
sudo ln -s ../sites-available/phpmyadmin
sudo /etc/init.d/apache2 restart
如果要连接多个数据库,请参看
/etc/phpmyadmin/config.inc.php,仔细阅读,即可找到配置方式。
转载地址:http://bttgi.baihongyu.com/