I have a DigitalOcean WordPress droplet (https://marketplace.digitalocean.com/apps/wordpress), and I need to install phpmyadmin. Following these instructions: https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-phpmyadmin-on-ubuntu-20-04, when I login into the phpmyadmin after the installation, I noticed that the version is 4.9.5 and while viewing the WordPress database (for example) I get the “Some errors have been detected on the server” message.
And this is what I see:
Deprecation Notice in ./libraries/classes/Di/ReflectorItem.php#82 Method ReflectionParameter::getClass() is deprecated
Backtrace
./libraries/classes/Di/ReflectorItem.php#50: PhpMyAdmin\Di\ReflectorItem->_resolveArgs( array, array, ) ./libraries/classes/Di/FactoryItem.php#27: PhpMyAdmin\Di\ReflectorItem->invoke(array) ./libraries/classes/Di/Container.php#62: PhpMyAdmin\Di\FactoryItem->get(array) ./libraries/classes/Di/AliasItem.php#44: PhpMyAdmin\Di\Container->get( string ‘PhpMyAdmin\Controllers\Database\DatabaseStructureController’, array, ) ./libraries/classes/Di/Container.php#62: PhpMyAdmin\Di\AliasItem->get(array) ./db_structure.php#35: PhpMyAdmin\Di\Container->get( string ‘DatabaseStructureController’, array, )
searching online, I found out that the installation didn’t add the latest available version of phpmyadmin, and some people suggested upgrading the version of phpmyadmin to something greater than version 5.
So my question is how do I fix these errors? Does upgrading to a newer version will fix the problem? What’s the best approach to fix this problem?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hello,
I would suggest installing the latest version just to make sure that you have the latest security patches as well.
To do that, you can follow the steps on how to install PHPMyAdmin manually here:
https://www.digitalocean.com/community/questions/how-to-install-manually-phpmyadmin-on-ubuntu
Hope that this helps!
Best,
Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.