[EMAIL PROTECTED] wrote:

Here is how I did it. Using the mysql-standard-5.0.18.tar.gz static binary distribution for linux.

You have to use the same libraries when compiling the mysql & mysqli modules. This will happen, as long as you use the same paths to the MySQL installed files.

For the Linux Non RPM binaries, they are:

--with-mysql=shared,/usr/local/mysql
--with-mysqli=shared,/usr/local/mysql/bin/mysql_config

Almost identical, so obviously you will be using the same client libraries.


#! /bin/sh
#
# Created by configure

'./configure' \
'--with-apxs2=/usr/local/apache-2.0.55/bin/apxs' \
'--prefix=/usr/local/php-5.1.2' \
'--with-mysql=shared,/usr/local/mysql/' \
'--with-mysql-sock=/var/lib/mysql/mysql.sock' \
'--with-zlib-dir=/usr/include' \
'--with-mysqli=shared,/usr/local/mysql/bin/mysql_config' \
"$@"

HTH
Keith

Thanks Keith :)

In theory, theory and practice are the same;
In practice they are not.

Where is that quote from, its nice :)

Reply via email to