Hi,
I'm trying to install PHP5 from source, and I'm having trouble getting it to see my SQL header files, specifically: configure: error: Cannot find MySQL header files under /usr/local/bin/mysql
$ which mysql
/usr/local/bin/mysql
/usr/local/bin/mysql
So my path is correct.
Here's the options I'm using to compile:
./configure \
--with-mysql=/usr/local/bin/mysql \
--with-apxs=/usr/www2/bin/apxs \
--with-db \
--with-gd=/usr/local \
--enable-gd-native-ttf \
--with-jpeg-dir=/usr/local \
--with-png-dir=/usr/local \
--with-zlib-dir=/usr \
--no-create \
--no-recursion
--with-mysql=/usr/local/bin/mysql \
--with-apxs=/usr/www2/bin/apxs \
--with-db \
--with-gd=/usr/local \
--enable-gd-native-ttf \
--with-jpeg-dir=/usr/local \
--with-png-dir=/usr/local \
--with-zlib-dir=/usr \
--no-create \
--no-recursion
Any ideas what I need to do here to get php to work properly with MySql?
--
Tim DeBoer
http://www.freebsd-geek.com
Just once, I'd like it if someone called me "Sir".
Without adding "You're creating a scene".