Hi, I've just watched your tutorial (https://www.youtube.com/watch?v=U-246hzxBlE">https://www.youtube.com/watch?v=U-246hzxBlE) and now I'm trying to use mysql base from php code. But when I load php file in my web browser an error appears:
Fatal error: Class 'mysqli' not found in C:\Apache\htdocs\Folder\ name.php on line 4 (this line looks like that $abc = new mysqli('localhost', 'root', 'password', 'base')
I uncommented these lines in php.ini-development:
but it didn't help. Could you help me to fix it, please?
mysqli not found - problem
Post a Reply
|Oldest Newest Rating|
· April 25, 2015
Thank you Szymon K.
Your solution help me.
· June 17, 2014
OK, I found solution. Here it is, if someone has the same problem:
1. In php folder find file named "php.ini-development" and change name of it to "php.ini"
2. Edit this file. Find lines with extensions and uncomment (remove semi-colon) this line: extension=php_mysqli.dll
3. In the same file find line ; extension_dir = "./" , uncomment it and change to extension_dir = "C:\php\ext" (or other path)
SQL & Databases
Everything SQL and Databases related in here!
|Bucky Roberts Administrator|