How to solve Fatal error: Class 'MySQLi' not found?
Sounds like you just need to install MySQLi.
If you think you've done that and still have a problem, please post your operating system and anything else that might help diagnose it further.
MySQLi not found error
I got the error corrected by enabling/editing the following config in php.ini
:
1st (uncomment and add config):
include_path = "C:\php\includes"
2nd (uncomment):
extension_dir = "ext"
3rd (uncomment and edit config):
extension=D:/PHP/ext/php_mysql.dll
extension=D:/PHP/ext/php_mysqli.dll
Class 'mysqli' not found PHP v5.6.7
scrowler and Michael Bush pointed out the answer in comments above. I thought I'd create an answer for it for the benefit of someone viewing the thread. Thanks, scrowler and Michael Bush.
The php.ini-development
and php.ini-production
files are templates. In order to have effect, one of them needs to be copied and renamed php.ini
.
Related Topics
Google Calendar API Batch Request PHP
How to Add More Custom Field in Linked Product of Woocommerce
How to Get/Set Session_Id() or Should It Be Generated Automatically
PHP Remove/Fix Module Not Found or Already Loaded Warnings
How to Grab All Variables in a Post (Php)
PHP MySQL Set Connection Timeout
Extension PHP5 Does Not Parse in Xampp
How to Store a Class Instance in a $_Session Space
Session Variables Lost Between Pages
Http Header for Downloading Microsoft Word and Excel Files
Clear Data in MySQL Table with PHP
Convert Hex Code into Readable String in PHP
Easiest Way to Implode() a Two-Dimensional Array
Yii2 Links Between Frontend and Backend (Advanced Template)