Fatal error: Uncaught Error: Class “mysqli” not found in C:businessindex.php:8 Stack trace: #0 {main} thrown in C:businessindex.php on line 8
I get this everytime i run the code below.
$connection = new mysqli($servername, $username, $password, $database);
extension=mysqli
I already removed the ; in the php.ini-development. I also tried the adding a new file called php.ini and placed the code inside it.
I have already added the latest(8.3.6) php file inside the path. What can I do to fix the error?
New contributor
user23309138 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
2