PHP 7 with phpmyadmin gives lots of Deprecation Notices
I had this problem and solved it with a simple reinstall of phpmyadmin and its dependencies. Run the following commands:
sudo apt-get remove --purge phpmyadmin php-gettext php-mbstring -y
sudo apt-get autoremove -y
sudo apt-get update
sudo apt-get install phpmyadmin php-gettext php-mbstring -y
Once reinstalled, you should be good as new!
Deprecation Notice in phpMyAdmin on Centos 7
What version of phpMyAdmin are you running? There appears to be a php compatibility issue with php7.4
I would recommend updating phpMyAdmin to the latest version compatible with with php7.4.
https://www.phpmyadmin.net/news/2020/1/8/phpmyadmin-494-and-501-are-released/
Alternatively - and I wouldn't advocate doing this in a production environment - you could suppress deprecated messages. For example you could change the error reporting setting in your php.ini to something like:
error_reporting = E_ALL ^ E_DEPRECATED
Getting Deprecation notice errors in Phpmyadmin
It should be ok - this means that some code is planned to be removed, but PHPmyadmin should be working correctly.
After update, situation can change - then you will need to adjust to situation.
Always is better to use newest version of PHP and PHPMyAdmin.
Related Topics
How to Get Multiple Value from Post Variable Using Same Name
How to Get the MAC and the Ip Address of a Connected Client in PHP
Getting Error in Console:Failed to Load Resource: Net::Err_Connection_Reset
Displaying Data from an Array in a HTML Table Using PHP
How to Add Class to Link in Wp_Nav_Menu
Add Images to a Excel File Using PHP
Can PHP Pdo Statements Accept the Table or Column Name as Parameter
How to Parameterize the Table Name in a Prepared Statement
Get Image Type from Base64 Encoded Src String
How to Echo Selected Value of Dropdown in PHP
How to Add Whatsapp Share Button to PHP Website
Laravel: Products,Categories and Subcategories! (Relation Ships)
How to Get Part of Url Before Last Slash With PHP
Php: How to Detect If a Session Has Expired Automatically
Combining 'Where' and 'Like' Statements by Using the Ci Activerecords
Cannot Simply Use Postgresql Table Name ("Relation Does Not Exist")