Re: Building PHO 4.3.1 with MySQL support
| From: | (Michael Mauch) | Date: | Tue, 25 Feb 2003 00:11:03 +0000 |
| Subject: | Re: Building PHO 4.3.1 with MySQL support | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-10184@lists.php.net to get a copy of this message | ||
Vicki Brown <vlb@cfcl.com> wrote:
> I ran
> ./configure --with-mysql --with-apxs=/usr/local/apache/bin/apxs
> and received the following warning:
[...]
> But, what "path to mysql" should I use?
Try --with-mysql=/usr/local/mysql.
> MySQL (the binary) is installed at /usr/local/bin/mysql; when I tried that
> path, the configure script told me it couldn't find include files there.
> There are no include files in /var/db/mysql (and that directory is locked as
> well). Do I give configure the path/to/mysql/source/tree? Or what?
PHP needs to find the header files and the libraries. Both should have
been installed when you installed mysql. Try "locate mysql|grep include"
and/or "locate mysql|grep lib" to locate them.
Regards...
Michael