Ok if you want to get rid of those nasty notices you have basically 4 options.You should note that the notices are caused by the oldish version of PHPMyAdmin that still uses some deprecated code, mainly old constructor definition statements. But they don’t affect PHPMyAdmin as those statements still function but they should be changes as they will not work for eternity.
The fist one(recommended)
So the first one is to just turn off the notices for the PHPMyAdmin folder. You can do that by using the following commands:
cd /usr/share/phpmyadmin sudo touch .user.ini echo "error_reporting = 0" | sudo tee -a .user.ini sudo service nginx restart
You could change error_reporting in php.ini, but there are many reasons you wouldn’t want that.
Use a different source repo for PHPMyAdmin, again I think there are many reasons one would want to stick with default PHPMyAdmin source repo. You can do this with the following commands:
sudo add-apt-repository ppa:nijel/phpmyadmin sudo apt update sudo apt install phpmyadmin</pre> <pre>
You could change the files that generate the notices. …