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: apache2 and mysqli installation issue |
|
Author |
|
limonata
Joined: 02 Feb 2007 Posts: 3
|
Posted: Fri 09 Feb '07 16:27 Post subject: apache2 and mysqli installation issue |
|
|
> 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 |
|
James Blond Moderator

Joined: 19 Jan 2006 Posts: 7404 Location: EU, Germany, Next to Hamburg
|
Posted: Sun 15 Apr '07 14:08 Post subject: |
|
|
If you can't see a section of mysqli on your phpinfo page. It isn't loaded.
only for debugging turn on display_startup_errors
display_errors = On
display_startup_errors = On
log_errors = On
error_log =C: /php/phperror.log
You have to create that logfile before starting. |
|
Back to top |
|
|
|
|
|
|