Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Apache mysqli installation problem |
|
Author |
|
limonata
Joined: 02 Feb 2007 Posts: 3
|
Posted: Tue 13 Feb '07 23:38 Post subject: Apache mysqli installation problem |
|
|
> Hi,
>
> I follow your instruction to install the apache 2.2.4 and php5.2.0 and
> mysql5.0.27 on windows.
>
> when i run phpinfo(), i have a section describing mysql but i don't have a
> section describing mysqli. so when i use mysqli class in my php code, i
> get this error:
> Fatal error: Class 'mysqli' not found in C:\Apache2\htdocs\11\results.php
> on line 26
>
> in php.ini file:
> extension_dir = "C:\php\ext"
> extension=php_mysql.dll
> estension=php_mysqli.dll |
|
Back to top |
|
pips

Joined: 03 May 2006 Posts: 65 Location: Manchester, UK
|
Posted: Wed 14 Feb '07 12:33 Post subject: |
|
|
For PHP to access mysqli you need to use the libmysql.dll file, and include the location of this file in your PATH directory.
See documentation at: http://uk2.php.net/mysqli/
Phil |
|
Back to top |
|
James Blond Moderator

Joined: 19 Jan 2006 Posts: 7404 Location: EU, Germany, Next to Hamburg
|
Posted: Wed 14 Feb '07 12:39 Post subject: |
|
|
Take the libmysql.dll from mysql\bin and copy it into apache\bin
secondly I see a little typo in your php.ini
extension_dir = "C:\php\ext"
extension=php_mysql.dll
estension=php_mysqli.dll |
|
Back to top |
|
limonata
Joined: 02 Feb 2007 Posts: 3
|
Posted: Wed 14 Feb '07 17:17 Post subject: thank you guys very much |
|
|
specially thanks for pointing out my typo error in php.ini file and also i put a copy of the Libmysql.dll into c:\php\ directory and apache\bin directory and now it works. |
|
Back to top |
|
|
|
|
|
|