phpmyadmin issuing a fatal error for PMA_DBI_num_rows()

房东的猫 提交于 2019-12-18 08:57:46

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!