Extension mysqli Missing: Troubleshooting phpMyAdmin on Ubuntu 12.04
Problem: Unable to start phpMyAdmin due to the missing mysqli extension, despite having installed apache2, php5, mysql, and phpmyadmin.
Solution:
PhpMyAdmin now requires the mysqli extension, a replacement for the mysql extension used in older versions. To resolve this issue, follow these steps:
PHP 7.3 or Later:
sudo apt-get install php7.3-mysqli
PHP 8 or Later:
sudo apt-get install php8.0-mysqli
These packages include both the legacy mysql extension and the mysqli extension.
extension=mysqli.so
sudo systemctl restart apache2
These steps should allow you to successfully run phpMyAdmin using the mysqli extension.
The above is the detailed content of Why is phpMyAdmin Failing to Start Due to a Missing mysqli Extension on Ubuntu 12.04?. For more information, please follow other related articles on the PHP Chinese website!