I had a problem recently with PHPmyadmin when installed on Ubuntu 16.04 LTS
I was getting lots of errors along the lines of:
Deprecation Notice in ./../php/php-gettext/streams.php#48
Literally every time you clicked a link in PHPmyadmin it would pop up about 10 depreciation notice errors.
Fortunately it was a quick fix and something that I haven’t seen documented online elsewhere yet.
Go into /etc/php/7.0/fpm/ and edit the php.ini file
Then add the following line:
error_reporting = ~E_DEPRECATED & E_STRICT
Then simply restart your php fpm module and whatever webserver you are running (lighttpd for me)
This will remove the errors until there is an update to fix it which gets phpmyadmin working again. As soon as there is an update available then a dist upgrade should work too.
Some more info on this bug if anyone else is having a similar problem.
I was using php7 with fpm module on lighttpd running under Linux Ubuntu 16.04 LTS on the Google cloud console.
The code above for error reporting is actually the recommended setting for a production setup.