How to install mysqli extension in php

王林
Release: 2023-03-07 09:34:01
Original
5964 people have browsed it

How to install mysqli extension in php: 1. Find mysqli in the ext directory; 2. Execute the [/usr/local/php7.2/bin/phpize] command; 3. Execute [make && make install] Command to compile and install.

How to install mysqli extension in php

The specific steps are as follows:

(Recommended tutorial:java video tutorial)

1. Find mysqli

2 in the php7.2 ext directory, enter

/usr/local/php7.2/bin/phpize
Copy after login

3, execute

./configure --with-php-config=/usr/local/php/bin/php-config --with-mysqli=/usr/bin/mysql_config
Copy after login

4 in the mysqli folder, execute the command

make
Copy after login

5. Execute the command

make install
Copy after login

Related recommendations:php training

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:
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!