mysqli_connect()显示未定义解决方法:

http://www.cnblogs.com/misoag/archive/2013/01/24/2874439.html

让apache、php支持mysql
sudo apt-get install libapache2-mod-auth-mysql
sudo apt-get install php5-mysql
sudo /etc/init.d/apache2 restart

mysqli_fetch_all()显示未定义解决方法

http://stackoverflow.com/questions/11664536/fatal-error-call-to-undefined-method-mysqli-resultfetch-all

sudo apt-get install php5-mysqlnd 即可

04-13 18:47