php7.1 mysqli extension Client API library version version is not uniform

不言
Release: 2023-03-24 12:44:01
Original
2379 people have browsed it

This article mainly introduces the problem of inconsistent version of php7.1 mysqli extension Client API library version. It has certain reference value. Now I share it with everyone. Friends in need can refer to it

Calling the mysqli extension keeps reporting errors. It is found that the root cause of this problem is that the version numbers of Client API library version and Client API header version in the mysqli column in phpinfo are not consistent.

The environment is linux Nginx php7.1

Using yum to install

You need to stop php-fpm first

service php-fpm stop

Uninstall php-mysql

yum remove php71w-mysql
Then reinstall

yum install php71w-mysqlnd

Finally start php-fpm

Since everyone’s installation method is not uniform, this method Just providing you with solution ideas


The above is the detailed content of php7.1 mysqli extension Client API library version version is not uniform. 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
Popular Tutorials
More>
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!