Re: compiling with mysql

From: Date: Mon, 15 Jul 2002 01:54:33 +0000
Subject: Re: compiling with mysql
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-107652@lists.php.net to get a copy of this message
In article <Pine.LNX.4.21.0207120957190.1434- 100000@localhost.localdomain>, olc@ninti.com says... > > Another PHP compilation question ... > > I've just compiled PHP 4.2.1 --with-mysql. I added no path to mysql, and > it worked fine as it always does. However, I'm keen to add mod_python as a > DSO to Apache as well, and noticed in PHP's INSTALL notes that I'll > probably need to recompile PHP with a path to mysql: > > --with-mysql=/somewhere/or/other/ > > 1. Is this always the case? > > 2. Where would the path be likely to be on RedHat 7.2 with MySQL rpms? I'm not a Redhat user, but.... I think you will have to have installed a source rpm for mysql. You can probably check if you have the include files installed by doing locate mysql.h to give you the mysql include directory, possibly something like /var/mysql/include or /usr/local/mysql/include. Stripping the /include should give you the 'parent' directory under which both the include files and lib files can be found. Cheers -- David Robley Temporary Kiwi! Quod subigo farinam

« previous php.general (#107652) next »