问题
Doing a simple phpmyadmin install on a new server and I get the white screen.
Going into the apache logs I see:
[Wed Jun 19 23:20:57 2013] [error] [client 67.154.118.163] PHP Fatal error: Call to undefined function PMA_DBI_num_rows() in /var/www/phpmyadmin/libraries/navigation/Nodes/Node.class.php on line 408
All I have done on the server is install apache, php, mysql, and the php-mysql module...
No idea whats going on :(
回答1:
check your php5-mysql
php module if it is installed correctly
(maybe you forgot apache restart?)
had the same issue and after checking php-mysql module again and fixing it, this error vanished
回答2:
Try
sudo apt-get install php5-mysqlnd
This will remove php5-mysql but it worked for me.
来源:https://stackoverflow.com/questions/17203336/phpmyadmin-issuing-a-fatal-error-for-pma-dbi-num-rows