Home >Database >Mysql Tutorial >Why Is PHPMyAdmin Showing a \'Missing mysqli Extension\' Error Despite Installation?
PHPMyAdmin Error: Missing mysqli Extension
Despite installing Apache2, PHP5, MySQL, and PHPMyAdmin, users may encounter an error stating that the mysqli extension is missing and PHPMyAdmin is not working.
Reason:
Recent PHPMyAdmin versions require the mysqli extension, which replaces the older mysql extension.
Solution:
For PHP 7.3 and PHP 8:
Install the mysqli extension package:
Note that the installed package includes both the old mysql and the new mysqli extensions. The addition of the mysqli.so extension in php.ini activates the new extension. If the issue persists, clear the browser cache.
The above is the detailed content of Why Is PHPMyAdmin Showing a \'Missing mysqli Extension\' Error Despite Installation?. For more information, please follow other related articles on the PHP Chinese website!