1.安装php5-mysql
sudo apt-get install php5-mysql
2.重启apache2和mysql服务
sudo /etc/init.d/apache2 restart
sudo /etc/init.d/mysql restart
1.安装php5-mysql
sudo apt-get install php5-mysql
2.重启apache2和mysql服务
sudo /etc/init.d/apache2 restart
sudo /etc/init.d/mysql restart