PHP7和phpMyAdmin出现PHP致命错误
我正试图用PHP7在我的Ubuntu服务器上安装phpMyAdmin,我已经做了关于用PHP7安装pMA的指南: 但是当我尝试访问/phpmyadmin时,我得到了500个错误,并且我在错误日志中有这个日志:PHP7和phpMyAdmin出现PHP致命错误,php,mysql,apache,ubuntu,phpmyadmin,Php,Mysql,Apache,Ubuntu,Phpmyadmin,我正试图用PHP7在我的Ubuntu服务器上安装phpMyAdmin,我已经做了关于用PHP7安装pMA的指南: 但是当我尝试访问/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 __() i
[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相关的内容,我仍然会得到相同的内容。我对这个问题做了研究,但这似乎是一个新问题。我该怎么办?我遇到了同样的问题,我解决了它:
apt install php7.0-mbstring
service apache2 restart
你在尝试什么版本的phpMyAdmininstall@RiggsFolly最新版本,4.6.0,是从官方网站下载的,不起作用。E:找不到程序包php7.0-mbstring E:无法通过glob'php7.0-mbstring'找到任何程序包E:无法通过正则表达式'php7.0-mbstring'找到任何程序包如果不是'apt get'?应该是
sudo apt get install php7.0-mbstring
。在Ubuntu上为我做了这件事。