【发布时间】:2016-08-28 09:38:47
【问题描述】:
我有 Ubuntu 16.04 LTS 运行并安装了 PHP7 和 phpmyadmin。 但是,我收到了很多弃用通知,例如:
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)
这是个问题吗?我怎样才能摆脱这些通知(每次加载页面或执行操作时都会弹出)?
【问题讨论】:
-
这发生在标准的、全新安装的 16.04 和 phpmyadmin 的存储库版本上。 @David Curry 对重新安装的回答很简单而且很有效,这里的其他方法并不能简单地解决问题。
标签: phpmyadmin php-7 ubuntu-16.04