Re: [PHP-DB] MySql RPM From: Peter Bowen (pzb <email protected>)
Date: 11/29/00

You should always use the path with the --with-mysql if you have either
the MySQL client installed on the system. If you use the path, then, yes,
both a CGI version and a module version can simultaneously access the
database.

For the --with-mysql option, the proper path is simply /usr, so the
complete option is --with-mysql=/usr for your setup.

Thanks.
Peter

On Thu, 30 Nov 2000, Nite Fox wrote:

> I have a RH 6.2 box. I've compiled the php module just fine. I also
> need a CGI version but noticed the configure remarked that the CGI
> might conflict with the module version when accessing MySql.
> And, to give configure a specific mysql path (e.g., --with-mysql=
> <path-to-mysql>).
>
> Question 1: If the php module is version 4.x.x and the CGI version
> is 3.0.15, can each simultaneously access MySql if both were
> compiled with "--with-mysql" without the path?
>
> Question 2: I loaded MySql via the rpm's and can not figure out
> what the mysql path should be for the '--with-mysql' configuration
> parameter. There's a libmysqlclient.so in /usr/lib/mysql, and
> libmysqlxxxx.a in /usr/lib. I've tried many permutations, but
> configure with a mysql path returns a "Invalid MySql directory".
>
> Any idea what path I should use with the MySql rpm's?
>
> Thanks very much,
> Donovan Wade
>
> MySQL-3_22_32-1_i386.rpm
> MySQL-bench-3_22_32-1_i386.rpm
> MySQL-client-3_22_32-1_i386.rpm
> MySQL-devel-3_22_32-1_i386.rpm
> MySQL-shared-3_22_32-1_i386.rpm
> _____________________________________________________________________________________
> Get more from the Web. FREE MSN Explorer download : http://explorer.msn.com
>
>
>

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe <email protected>
For additional commands, e-mail: php-db-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>