简体   繁体   English

PHP 7和phpMyAdmin的PHP致命错误

[英]PHP Fatal Error with PHP 7 and phpMyAdmin

I'm trying to install phpMyAdmin on my Ubuntu server with PHP 7, I already did this guide about installing pMA with PHP 7: stackoverflow topic 我正在尝试使用PHP 7在我的Ubuntu服务器上安装phpMyAdmin,我已经做了关于使用PHP 7安装pMA的指南: stackoverflow主题

But when I try to access /phpmyadmin, I get 500 error and I have this log in error log: 但是当我尝试访问/ 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$

Also I cannot access setup folder nor anything related to pMA, I still get the same thing. 此外,我无法访问安装文件夹或任何与pMA相关的东西,我仍然得到相同的东西。 I did my research about this problem, but it seems this one is new. 我对这个问题进行了研究,但似乎这个问题是新的。 What should I do? 我该怎么办?

I had a same problem, and I solved it : 我有同样的问题,我解决了它:

apt install php7.0-mbstring
service apache2 restart

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM