MySQLi

provender

Verified User
Joined
Aug 19, 2007
Messages
13
I'm trying to figure out how to get MySQLi working on DirectAdmin. I'm using PHP 5.2.4 and MySQL 5.0.37. I've added the
Code:
--with-mysqli=/usr/bin/mysql_config
statement to the configure.php_ap2 file in customapache, but when I try to run
Code:
./build php_ap2 n
I get the following error:

Code:
wrong mysql library version or lib not found

It also tells me to check the config log for more details, but I'm not entirely sure where that is.

I've looked on the MySQL site, but I'm not really fond of recompiling PHP outside of DA to try and get the library updated. Has anyone done this and can recommend the best way to make this happen? I need to get this going ASAP. Thanks for any assistance...
 
I don't think that mysql_config is in /usr/bin on Debian systems :) Try /usr/local/mysql/bin/mysql_config.
 
Back
Top