Re: Building PHO 4.3.1 with MySQL support

From: Date: Wed, 19 Feb 2003 16:01:45 +0000
Subject: Re: Building PHO 4.3.1 with MySQL support
Groups: php.install 
Request: Send a blank email to php-install+get-10098@lists.php.net to get a copy of this message
--with-mysql=/usr usually does the trick. -- Jim >>> Vicki Brown <vlb@cfcl.com> 02/19/03 01:22AM >>> I ran ./configure --with-mysql --with-apxs=/usr/local/apache/bin/apxs and received the following warning: | You chose to compile PHP with the built-in MySQL support. If you | | are compiling a server module, and intend to use other server | | modules that also use MySQL (e.g, mod_auth_mysql, PHP 3.0, | | mod_perl) you must NOT rely on PHP's built-in MySQL support, and | | instead build it with your local MySQL support files, by adding | | --with-mysql=/path/to/mysql to your configure line. I have no idea if I "intend to use other server modules..." However, I _do_ have mod_perl installed, so it's probably a safe bet that _something_ will use MySQL eventually. Therefore, I presume need to build with my "local MySQL support files". But, what "path to mysql" should I use? 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? I know essentially nothing about either MySQL or PHP at this time, as I am installing both in order to move on and install something _else_ that wants these. Consider me very much a newbie. Help? This is a FreeBSD 4.7 system, MySQL 3.23.55 installed from FreeBSD ports collection (nothing special), Apache 1.3.27 with DSO capability, PHP 4.3.1 -- - Vicki Vicki Brown ZZZ Journeyman Sourceror: P.O. Box 1269 zz |\ _,,,---,,_ Scripts & Philtres San Bruno, CA zz /,.-'' -. ;-;;,_ Perl, Unix, MacOS 94066 USA |,4- ) )-,_. ,\ ( `'-' mailto:vlb@cfcl.com '---''(_/--' `-'\_) http://www.cfcl.com/~vlb -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.install (#10098) next »