What to do if mysqli extension is missing in phpmyadmin
The following column of phpmyadmin usage tutorial will introduce to you the solution to the problem of missing mysqli extension in phpmyadmin. I hope it will be helpful to friends who need it. help!
#phpMyAdmin Error The mysqli extension is missing. Please check the solution for PHP configuration
phpMyAdmin is missing the mysqli extension. Please check PHP configuration for solution: mysqli extension is missing. Please check PHP configuration.
Open your php.ini->usually in the C:WINDOWS directory. Find the
code as follows:
;extension=php_msql.dll;extension=php_mssql.dllextension=php_mysql.dllextension=php_mysqli.dll
Which extension needs to be enabled, just remove the semicolon in front of this line. Be sure to restart Apache
## or IIS Solution steps: 1. Check if there is a php_mysqli.dll file in the ext directory of php. If so, continue with the following steps. If not, reinstall php2. Open php.ini and find the
code as follows:
;extension=php_mysqli.dll
Remove the semicolon ";" in front and change it to
The code is as follows:
extension=php_mysqli .dll
3. Find the
code as follows:
;extension_dir="./ ext"
Remove the semicolon ";" in front and change it to (ext directory relative to the php installation path)
The code is as follows:
extension_dir = "e:\php\ext"
e:php is the storage of php Directory
4. Copy php.ini to c:windows 5. Copy libmysql.dll to the System32 directory under Windows (this is very critical) 6. Restart IIS (not Website)
# Run iisreset/RESTART under cmd
If the above method does not work, you can refer to the following method to operate
The first step, output phpinfo() to see if the MySQL module is successfully loaded. If it is successfully loaded, you are in trouble. Otherwise, see the second step,
phpinfo under IIS ()What is the reason why there is no mysql module? The original php used was installed with .msi, but later I had to do it all over again and installed it in a compressed package. Then configure php.ini, copy it to windows, and copy libmysql.dll to system32. Then the test was successful. . . The second step is to check whether the
extension_dir setting is correct. The third step is to check whether the libmysql.dll file is copied to c:windowssystem32.
1. The Mysql database is not installed correctly. In the system service, Mysql-related services are not started (please check the method of correctly installing Mysql)
2.
libmysql is missing in the system's system32 (C:windowssystem32) directory. dll file, the solution is to find libmysql.dll in the php directory, copy libmysql.dll to the C:windowssystem32 directory, and then restart the web service.
3. In the php.ini file in the C:windows directory, the first ";" in ";extension=php_mysql.dll" is not removed, so the corresponding cannot be used. function, the solution is to open the php.ini file
4. The Mysql directory does not have read permissions. The correct directory permissions are as follows: administrator Full control system
Full control user Read and add Delete all other user permissions to run (you can also keep them, but the security is not high, so it is recommended to delete them), and then restart the MYsql service and Web service.
When you open phpmyadmin, you may get an error like this,
The mysqli extension is missing. Please check PHP configuration. target="documentation"> width= "11" style="max-width:90%" alt="What to do if mysqli extension is missing in phpmyadmin"
title="What to do if mysqli extension is missing in phpmyadmin" />
You can follow the following methods Check:
1. Check whether php.ini ;extension=php_mysqli.dll has been enabled, that is, remove the previous;
##2. Check whether the php.ini extension_dir address points to the ext directory of the php directory. This step is key. I am at this step. I set extension_dir = "e:\www\php54\ext" to myself. The directory is fine
3. Check whether lib_mysql.dll has been copied to the windows directory. This dll file has many forms. Is there any underlined libmysql_d.dll? Therefore Pay attention to yourself
4. Check the ext directory of the PHP installation directory to see if the php_mysqli.dll file exists online. It also indicates that it is best to use the zip package to decompress There will be no file loss
5. Check the php details page ?> to see if mysql and mysqli have been started. This step is to check whether you have enabled them. If mysqli is not turned on
If you search for the mysqli keyword, you will not be able to see it on the php detailed page
Finally, pay attention! ! ! ! Restart Apache
The above is the detailed content of What to do if mysqli extension is missing in phpmyadmin. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

The primary key of a table is one or more columns that uniquely identify each record in the table. Here are the steps to set a primary key: Log in to phpMyAdmin. Select database and table. Check the column you want to use as the primary key. Click "Save Changes". Primary keys provide data integrity, lookup speed, and relationship modeling benefits.

Default location for PHPMyAdmin log files: Linux/Unix/macOS:/var/log/phpmyadminWindows: C:\xampp\phpMyAdmin\logs\ Log file purpose: Troubleshooting Audit Security

Adding a foreign key in phpMyAdmin can be achieved by following these steps: Select the parent table that contains the foreign key. Edit the parent table structure and add new columns in "Columns". Enable foreign key constraints and select the referencing table and key. Set update/delete operations. save Changes.

The WordPress database is housed in a MySQL database that stores all website data and can be accessed through your hosting provider’s dashboard, FTP, or phpMyAdmin. The database name is related to the website URL or username, and access requires the use of database credentials, including name, username, password, and hostname, which are typically stored in the "wp-config.php" file.

The default username and password for PHPMyAdmin are root and empty. For security reasons, it is recommended to change the default password. Method to change password: 1. Log in to PHPMyAdmin; 2. Select "privileges"; 3. Enter the new password and save it. When you forget your password, you can reset it by stopping the MySQL service and editing the configuration file: 1. Add the skip-grant-tables line; 2. Log in to the MySQL command line and reset the root password; 3. Refresh the permission table; 4. Delete skip-grant-tables line, restart the MySQL service.

Reasons and solutions for access denied by phpMyAdmin: Authentication failed: Check whether the username and password are correct. Server configuration error: adjust firewall settings and check whether the database port is correct. Permissions issue: Granting users access to the database. Session timeout: Refresh the browser page and reconnect. phpMyAdmin configuration error: Check the configuration file and file permissions to make sure the required Apache modules are enabled. Server issue: Wait for a while and try again or contact your hosting provider.

Steps to delete a data table in phpMyAdmin: Select the database and data table; click the "Action" tab; select the "Delete" option; confirm and perform the deletion operation.

Related views can be found in the Views submenu under the Structure tab in phpMyAdmin. To access them, simply select the database, click the "Structure" tab, and then click the "View" submenu.
