"Deprecation Notice" message on login page of phpMyAdmin
-
- Posts: 301
- Joined: Tue Dec 22, 2015 2:06 pm
"Deprecation Notice" message on login page of phpMyAdmin
Recently I completely re-installed my VPS, used Ubuntu 16.04 64-bit as the operating system, then installed VestaCP 0.9.8-17.
Today when I tried to login phpMyAdmin, I saw following messages below the login form:
How to solve this problem?
Thank you.
Today when I tried to login phpMyAdmin, I saw following messages below the login form:
What does this mean?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)
Deprecation Notice in ./../php/php-gettext/streams.php#84
Methods with the same name as their class will not be constructors in a future version of PHP; FileReader 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)
Deprecation Notice in ./../php/php-gettext/streams.php#145
Methods with the same name as their class will not be constructors in a future version of PHP; CachedFileReader 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)
Deprecation Notice in ./../php/php-gettext/gettext.php#36
Methods with the same name as their class will not be constructors in a future version of PHP; gettext_reader has a deprecated constructor
Backtrace
./../php/php-gettext/gettext.inc#42: 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)
How to solve this problem?
Thank you.
-
- Posts: 301
- Joined: Tue Dec 22, 2015 2:06 pm
Re: "Deprecation Notice" message on login page of phpMyAdmin
Ok, this issue solved easily with editing the php.ini file :
file path: /etc/php/7.0/apache2/php.ini
Change error_reporting value to:
Then restart Apache:
Well, the "Deprecation Notice" message no longer shown there.
file path: /etc/php/7.0/apache2/php.ini
Change error_reporting value to:
Code: Select all
error_reporting = ~E_DEPRECATED & E_ALL.
Code: Select all
# systemctl restart apache2