PHP, Apache and MySQL

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

User avatar
airy
Forum Newbie
Posts: 20
Joined: Fri Jul 11, 2008 2:53 am

Re: PHP, Apache and MySQL

Post by airy »

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
Post Reply