Home >Backend Development >PHP Problem >How to install mysqli extension in PHP?

How to install mysqli extension in PHP?

Guanhui
GuanhuiOriginal
2020-06-06 10:44:445543browse

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;

How to install mysqli extension in PHP?

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn