Uncaught Error: Call to Undefined Function mysqli_connect()

Asked

Viewed 1,792 times

0

I’ve been getting this error and I don’t know how to fix it. I don’t use xampp on my machine and below, it is possible to observe my php configuration file. Can anyone help me ?

Php Config

  • Check if the extension mysqli.so or mysqli.dll is entitled to php.ini and installed on your server. If you are not using sudo apt-get install php-mysqli and add extension=mysqli.so (Linux) or extension=mysqli.dll (Windows)

  • Extension=mysqli.dll in Windows cmd ?

  • No, in the file php.ini.

  • in php 7.0, there are two types of php.ini. php.ini-Development and php.ini-Production. I must do both of these ?

  • Searches in the image the value of "Loaded Configuration File", it is in this file that you should edit.

  • Continues to accuse the same error. I removed ; in front of the name of Extension=php_mysqli.dll

Show 2 more comments
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.