Solution to 'Missing mysqli extension. Please check PHP configuration' under Linux

WBOY
Release: 2016-07-25 08:56:21
Original
2292 people have browsed it
  1. tar -zxvf php-5.2.17.tar.gz
  2. cd php-5.2.17/ext/mysqli/
  3. /usr/bin/phpize #The configure configuration file will be generated in the current directory
  4. ./configure –with-php-config=/usr/bin/php-config –with-mysqli=/usr/bin/mysql_config
  5. make
  6. make install
Copy the code

If the above is correct, you can install it in /usr/ Find mysqli.so under lib64/php/modules/, and then add: extension=mysqli.so Then, restart the httpd service.



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!