Home > Article > Backend Development > How to install mysqli extension in PHP?
#How to install mysqli extension in PHP?
First download the "mysqli" extension and initialize it using the "phpize" tool;
http://git.php.net/?p=pecl/database/mysqli.git;a=summary
Execute /www/server/php/71/bin in the folder where the extension is decompressed /phpize
Then execute the "make" command to compile and install the mysqli extension;
After this step is completed, the system will prompt:
Installing shared extensions: /www/server/php/71/lib/php/extensions/no-debug-non-zts-20160303/
Then open " mysqli" extension;
Finally restart the PHP service to complete the installation.
Recommended tutorial: "PHP"
The above is the detailed content of How to install mysqli extension in PHP?. For more information, please follow other related articles on the PHP Chinese website!