Michael Bradley-Robbins wrote:[color=blue]
> I'm having trouble with MySQL. When I try to use mysqli_connect( ), it
> says "call to undefined function". Any advice?[/color]
The mysqli extension isn't enabled by default, but you must compile PHP
explicitly with the appropriate flag (or have the extension directive in
your php.ini point to the php_mysqli.dll under Windows).
well, I may seem a newbie, but how do i configure the path to the extensions
in Windows?
"Janwillem Borleffs" <jw@jwscripts.c om> wrote in message
news:41fd64b5$0 $73049$b83b6cc0 @news.euronet.n l...[color=blue]
> Michael Bradley-Robbins wrote:[color=green]
>> I'm having trouble with MySQL. When I try to use mysqli_connect( ), it
>> says "call to undefined function". Any advice?[/color]
>
> The mysqli extension isn't enabled by default, but you must compile PHP
> explicitly with the appropriate flag (or have the extension directive in
> your php.ini point to the php_mysqli.dll under Windows).
>
> See http://www.php.net/mysqli for more info.
>
>
> JW
>
>
>
>[/color]
Yeah, i got that, but I can't figure out what to do with the extension_dir
directive.
"Janwillem Borleffs" <jw@jwscripts.c om> wrote in message
news:41fff55a$0 $73254$1b2cd167 @news.euronet.n l...[color=blue]
> Michael Bradley-Robbins wrote:[color=green]
>> well, I may seem a newbie, but how do i configure the path to the
>> extensions in Windows?
>>[/color]
>
> In your php.ini file, you will find something like the following:
>
> ;extension=php_ xdebug.dll
> ;extension=php_ bz2.dll
> ;extension=php_ cpdf.dll
> ;extension=php_ crack.dll
>
> Just add a line like (without the preceding semicolon):
>
> extension=php_m ysqli.dll
>
> Ensure that the php_mysqli.dll is located in the directory indicated by
> the extension_dir directive and restart your webserver.
>
>
> JW
>
>
>[/color]
Comment