r/PHPhelp • u/BusEspionYT • Jan 20 '26
phpmyadmin not working
The error everytime i try to launch mysql.. i try to read the doc but it aint helping!!
"phpMyAdmin - Error
The mysqli extension is missing. Please check your PHP configuration. See our documentation for more information."
1
Upvotes
5
u/NoIdea4u Jan 20 '26
sudo apt-get install php-mysqli On Debian-based systems sudo yum install php-mysqli On Red Hat-based systems
2
u/colshrapnel Jan 21 '26 edited Jan 21 '26
Speaking of the literal problem, your main problem is finding the actual php.ini used by PHP that phpmyadmin is using. And restarting php service after editing php.ini.
On a global scale, phpMyAdmin is the worst database client ever, and literally every single native GUI mysql client is whole world better. I wonder why people still sticking to that shitshow of a software.
1
u/eurosat7 Jan 20 '26
Have you tried searching for "what must I do to find out why phpmyadmin is not working on my pc"?
What have you tried so far? What information do you have?
1
u/MartinMystikJonas Jan 20 '26
How dod you installed php? You installed it without required extension or you did not activated it in php.ini
1
u/MateusAzevedo Jan 20 '26
If you didn't solve the problem yet, just type
The mysqli extension is missingin the search bar of this subrredit and you'll find a lot of topics about this issue.Report back if you solved the issue (see rule #9) or if you still have problems. There are a few steps you can do to help locating the problem (which are likely explained in one of the existing topics).
1
u/7amitsingh7 Feb 12 '26
When phpMyAdmin throws a generic error while launching MySQL, it usually means the database service is not running properly or phpMyAdmin cannot establish a connection to it. The first thing to check is whether MySQL/MariaDB is actually running. If it fails to start, review the MySQL error log, as common causes include corrupted InnoDB files, crashed system tables, port 3306 conflicts, or permission issues. Also verify that phpMyAdmin’s configuration matches your database settings such as host (127.0.0.1 vs localhost), port, and credentials. In many local environments like XAMPP, abrupt shutdowns can corrupt internal tables, which prevents phpMyAdmin from connecting even though it appears installed correctly.
If basic checks and restarts don’t resolve the issue, it’s best to go through a structured troubleshooting process to identify whether it’s a configuration problem, service failure, or database corruption. You can refer to this guide for step-by-step help diagnosing and fixing MySQL/MariaDB startup and connection issues.