2016-04-23 67 views
1

我试图用PHP 7我的Ubuntu服务器上安装phpMyAdmin PHP致命错误,我已经做了这个指南有关使用PHP 7安装PMA:stackoverflow topic用PHP 7和phpMyAdmin的

但是,当我试图访问/ phpMyAdmin的,我得到500错误,我有这样的记录在错误日志:

[Sat Apr 23 12:44:49.795508 2016] [:error] [pid 18387] [client 10.8.0.7:41840] PHP Fatal error: Uncaught Error: Call to undefined function __() in /usr/share/phpmyadmin/libraries/sanitizing.lib.php:135\nStack trace:\n#0 /usr/share/phpm$ 

我也无法访问安装文件夹中,也没有任何有关PMA,我仍然得到同样的事情。我对这个问题做了我的研究,但看起来这是新的。我该怎么办?

+0

什么版本的phpMyAdmin是你想安装 – RiggsFolly

+0

@RiggsFolly最新的一个,4.6.0,下载了它从官方网站本身。 – Beltasbur

回答

3

我有同样的问题,我解决了这个问题:

apt install php7.0-mbstring 
service apache2 restart 
+0

不起作用。 E:无法找到软件包php7.0-mbstring E:找不到任何包'php7.0-mbstring' E:通过正则表达式'php7.0-mbstring – Adambean

+0

找不到任何软件包如果没有是'apt-get'? –

+0

应该是'sudo apt-get install php7.0-mbstring'。在Ubuntu上我有把戏。 – Avishai