Hans Zaunere 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
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.
Both MySQL and MySQL libs can be compiled into PHP. Try
--with-mysql=/usr --with-mysqli=/usr/bin/mysql_config
H
I actually tried that one (along with several others). In my continuing saga I tried this:
./configure --with-apxs2=/usr/local/apache/bin/apxs --with-mysql-include-dir=/usr/include/mysql/ --with-mysql-lib-dir=/usr/lib/mysql/ --with-mysqli=/usr/bin/mysql_config
It compiled, but the mysql extension wasn't there. It strikes me thatmaybe if I tried
./configure --with-apxs2=/usr/local/apache/bin/apxs --with-mysql=/usr --with-mysql-include-dir=/usr/include/mysql --with-mysql-lib-dir=/usr/lib/mysql --with-mysqli=/usr/bin/mysql_config
it might work. I've managed to stave of the need for the mysql extension for a week or two, but I have a good feeling about that one, and am hopeful it will work. I'll probably end up trying that one this weekend.
Thanks, Chris
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php