当我在我的Ubuntu16.04.3服务器上登录到我的phpMyAdmin 4.5.4.1de2ubuntu 2时,我会收到很多反对意见的通知:
Deprecation Notice in ./../php/php-gettext/streams.php#48
Methods with the same name as their class will not be constructors in a future version of PHP; StringReader has a deprecated constructor
Backtrace
./../php/php-gettext/gettext.inc#41: require()
./libraries/select_lang.lib.php#477: require_once(./../php/php-gettext/gettext.inc)
./libraries/common.inc.php#569: require(./libraries/select_lang.lib.php)
./index.php#12: require_once(./libraries/common.inc.php)这是完整的错误消息列表。
我试图在这里跟踪这个答案,但这也不起作用。而且,sudo apt-get update和sudo apt-get upgrade没有改变什么。
发布于 2017-12-13 12:09:26
尝试用aptitude reinstall phpmyadmin php-gettext php-mbstring或apt install --reinstall phpmyadmin php-gettext php-mbstring重新安装phpmyadmin的软件包,然后重新加载页面。
如果它们再次显示,也可能是E_USER_DEPRECATED,请按以下方式更改php.ini中的错误报告
error_reporting = E_ALL & ~E_DEPRECATED & ~E_USER_DEPRECATED & ~E_STRICT
重新加载你的网络服务器。
https://stackoverflow.com/questions/46550960
复制相似问题