Re: --with-mysqli and --with-mysql (fwd)
| From: | JupiterHost.Net | Date: | Tue, 14 Feb 2006 23:14:46 +0000 |
| Subject: | Re: --with-mysqli and --with-mysql (fwd) | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-17027@lists.php.net to get a copy of this message | ||
php@karsites.net 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 KeithThanks Keith :)
In theory, theory and practice are the same; In practice they are not.Where is that quote from, its nice :)