How to install mysqli extension in PHP?

Guanhui
Release: 2023-03-01 12:50:01
Original
5353 people have browsed it

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
Copy after login

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/
Copy after login

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!

Related labels:
php
source:php.cn
Statement of this Website
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
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!