Home >Backend Development >PHP Tutorial >php7.1 mysqli extension Client API library version version is not uniform
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!