Re: MySQL and MySQLi compiling

From: Date: Fri, 18 Feb 2005 16:10:45 +0000
Subject: Re: MySQL and MySQLi compiling
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-209035@lists.php.net to get a copy of this message
Chris wrote:
Hi, I've been trying to get these 2 compiled together for a while, and have had no luck. WHere my problem lies, I think, is that I'm not sure what directory should be specified on the --with-mysql part ./configure --with-apxs2=/usr/local/apache/bin/apxs --with-mysql=/usr/include/mysql/ --with-mysqli=/usr/bin/mysql_config
./configure --with-apxs2=/usr/sbin/apxs2 --with-mysql=/usr/include/mysql/ --with-mysqli=shared,/usr/bin/mysql_config Build either one as shared.
I have my own compiled Apache (It is Apache 2) , and MySQL 4.1.9 installed (the packages off mysql.com). The PHP documentation jsut says point it to the install dir. I'm nto sure what counts as the install dir for the MySQL packages. Any advice would be appreciated.


« previous php.general (#209035) next »