Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
269 views
in Q2A Core by

As we are using mysqli connection in one of the php file the connection works fine. After server migration we found error displayed below

Fatal error: Class 'mysqli' not found in /home/charlton07/public_html/wp-content/themes/tbrc/sample.php on line 250  is the error 

can you suggest how to resolve the error

1 Answer

+2 votes
by
May be mysqli is disabled on server.

check php.ini file, normally it is in below folder

/etc/php/7.0/apache2/php.ini

Uncomment below line

extension=php_mysqli.dll
...