Home >Backend Development >PHP Problem >How to add mysqli extension to PHP
PHP enables mysqli extension
Call to undefined function mysqli_connect()
. To solve this problem, you need to enable the mysqli extension.
Steps:
1. Search php_mysqli.dll in php.ini
##2 , set the extension_dir command
in php.ini
(
)
extension_dir = “G:/web/php7.1/ext”
3. Open successfully
Recommended tutorial:
The above is the detailed content of How to add mysqli extension to PHP. For more information, please follow other related articles on the PHP Chinese website!