An uncaught Exception was encountered |
Hi everyone, I have a problem, after many hours I still haven't figured it out and I hope to have some luck here.
I use CI 3 and vscode as text editor. This is the message: An uncaught Exception was encountered Type: Error Message: Class "mysqli_driver" not found Filename: C:\xampp\htdocs\blog\system\database\drivers\mysqli\mysqli_driver.php Line Number: 125 Backtrace: File: C:\xampp\htdocs\blog\index.php Line: 289 Function: require_once What do you think could be the cause?
Check in console : php -m
mysqli exist?
Simple CI 4 project for beginners codeigniter-expenses
Check you php.ini file and make sure that it is not remarked out with a ; (semi-colon).
What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
"php -m" executes the php command. It is not the same PHP as PHP executed with Apache.
Check the result of phpinfo() on your browser. |
Welcome Guest, Not a member yet? Register Sign In |