logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

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.
Post new topic   Forum Index -> Third-party Modules View previous topic :: View next topic
Reply to topic   Topic: apache2 and mysqli installation issue
Author
limonata



Joined: 02 Feb 2007
Posts: 3

PostPosted: Fri 09 Feb '07 16:27    Post subject: apache2 and mysqli installation issue Reply with quote

> 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: 7294
Location: Germany, Next to Hamburg

PostPosted: Sun 15 Apr '07 14:08    Post subject: Reply with quote

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


Reply to topic   Topic: apache2 and mysqli installation issue View previous topic :: View next topic
Post new topic   Forum Index -> Third-party Modules