Subject: Re: Package apache php3 mysql
To: Todd Vierling <tv@wasabisystems.com>
From: John Hayward <John.C.Hayward@wheaton.edu>
List: current-users
Date: 09/21/2000 21:48:05
Thanks
Somehow I just skipped over that configuration option
extension=mysql.o
did the trick.
Thanks again!
johnh...
On Thu, 21 Sep 2000, Todd Vierling wrote:
> Date: Thu, 21 Sep 2000 21:35:28 -0400 (EDT)
> From: Todd Vierling <tv@wasabisystems.com>
> To: John Hayward <John.C.Hayward@wheaton.edu>
> Cc: current-users@netbsd.org
> Subject: Re: Package apache php3 mysql
>
> On Thu, 21 Sep 2000, John Hayward wrote:
>
> : I've built and installed packages apache ap-php3 and php3-mysql (along
> : with mysql) on a 1.5ALPHA2 system. I can get a php3 page to work when it
> : does not attempt to connect to a mysql database. I see the mysql.so in
> : /usr/pkg/lib/php3 and the php3.ini file has that for the extension_dir.
> : The php_info() show that as the extension_dir as well.
>
> You need to also add:
>
> extensions=mysql.so
>
> to preload the extension, or else add:
>
> dl_load('mysql.so')
>
> to the top of the script. My memory is a little faded, but that may be
> "extension" (without the plural) in the first one.
>
> --
> -- Todd Vierling <tv@wasabisystems.com> * http://www.wasabisystems.com/
> -- Speed, stability, security, and support. Wasabi NetBSD: Run with it.
>
>