Sometimes after php or phpmyadmin installation, you will get the following error when accessing to your phpmyadmin page.
“The mysqli extension is missing. Please check your PHP configuration.”
The error due to the mysqli extension is missing so need to install or enable it. You may refer below steps to enable this PHP extension.
2. Find the line
;extension=mysqli.dll
3. Please remove ; so it will be like this
extension=mysqli.dll
4. Save the php.ini file and restart the IIS
2. Run the below command
yum install php-mysqli
3. Once done, restart the httpd service and apache
apachectl restart
service httpd restart
4. To check whether the extension already installed
php -i | grep -i mysqli
“The mysqli extension is missing. Please check your PHP configuration.”
The error due to the mysqli extension is missing so need to install or enable it. You may refer below steps to enable this PHP extension.
Windows
1. Open your php.ini, normally the location of php.ini under C:\PHP folder or C:\Windows(depends on your Windows version)2. Find the line
;extension=mysqli.dll
3. Please remove ; so it will be like this
extension=mysqli.dll
4. Save the php.ini file and restart the IIS
Linux
1. Login to your server via SSH2. Run the below command
yum install php-mysqli
3. Once done, restart the httpd service and apache
apachectl restart
service httpd restart
4. To check whether the extension already installed
php -i | grep -i mysqli
Comments
Post a Comment