Ok,

when I compiled with --with-mysql only, phpinfo() said:
Client API version: 3.23.49

I will recompile PHP with --with-mysql-sock instead.

I want to make sure PHP is using the right MySQL Client version.

Thanks,
Mark.

"Ray Hunter" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> mark,
>
> from what i understand of the configuration script it will go out and
> look in various locations for the mysql libraries. If you want to
> specify something then I would suggest using the --with-mysql-sock and
> pass the socket file. I like to use the socket file and have always had
> great success with it even for mysql 4.0
>
> --
> BigDog
>
>
> On Tue, 2003-09-09 at 12:59, Mark McCulligh wrote:
> > Thanks,
> >
> > If you just use --with-mysql it will use PHP's built-in mysql client lib
> > 3.23.49, but I have MySQL 4.0.14 installed. Won't this make a
difference.  I
> > want to make sure PHP is compiled this the right libraries for MySQL.
> >
> > Mark.
> >
> >
> > "Ray Hunter" <[EMAIL PROTECTED]> wrote in message
> > news:[EMAIL PROTECTED]
> > > > In the configure line --with-mysql=/path/to/mysql were is the path
for
> > RPM
> > > > versions of MySQL. I have search the computer but it looks like the
> > mysql
> > > > files are all over the place.  Database files are in /var/lib/mysql
> > BIN
> > > > files are in /usr/bin/, etc...
> > >
> > > use --with-mysql or --with-mysql-sock
> > >
> > > example:
> > >
> > > ./configure --with-mysql
> > > ./configure --with-mysql-sock=/var/lib/mysql/mysql.sock
> > >
> > > hth
> > >
> > > --
> > > BigDog

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to