Re: PHP, Apache and MySQL
Posted: Fri Dec 05, 2008 1:06 pm
It's seems to be you have no mysqli library before you use it
1.Run a test.php with a single funcion: phpinfo();
If no more errors, there will be a complicate page with a lot of configuration.
Try to find mysqli CTL+F 'mysqli', if you don't find anything, that's right. go to step 2.
2.So far, We know the reason is mysqli driver doesn't work.
Open your php.ini file(if you don't know where it is, use WIN+F), add a line in this file:extension=php_mysqli.dll
restart your apache and go to step one till you find mysqli in phpinfo page.
still not work go to step 3
3.find "extension_dir" in php.ini and make sure the value is a directory both exists and accessable
download or copy php_mysqli.dll to this directory
go to step 1,check again
if still doesn't work, contact me with gtalk mr.airy@gmail.com
1.Run a test.php with a single funcion: phpinfo();
If no more errors, there will be a complicate page with a lot of configuration.
Try to find mysqli CTL+F 'mysqli', if you don't find anything, that's right. go to step 2.
2.So far, We know the reason is mysqli driver doesn't work.
Open your php.ini file(if you don't know where it is, use WIN+F), add a line in this file:extension=php_mysqli.dll
restart your apache and go to step one till you find mysqli in phpinfo page.
still not work go to step 3
3.find "extension_dir" in php.ini and make sure the value is a directory both exists and accessable
download or copy php_mysqli.dll to this directory
go to step 1,check again
if still doesn't work, contact me with gtalk mr.airy@gmail.com