For Programmers: Free Programming Magazines  


Home > Archive > PHP Installation > December 2005 > Install errors









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Install errors
Tim DeBoer

2005-12-05, 6:59 pm

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

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

Any ideas what I need to do here to get php to work properly with MySql?

--
Tim DeBoer
[url]http://www.freebsd-g.com[/url]
Just once, I'd like it if someone called me "Sir".
Without adding "You're creating a scene".

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com