[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] [RaQ4] PHP 4.2.3 compile question
- Subject: Re: [cobalt-users] [RaQ4] PHP 4.2.3 compile question
- From: "Steve Werby" <steve-lists@xxxxxxxxxxxx>
- Date: Sun Nov 24 19:43:00 2002
- Organization: Befriend Internet Services LLC
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
"Leslie Herps" <mailinglists@xxxxxxxxxxxx> wrote:
> I have another question regarding compiling PHP 4.2.3 on a RAQ4.
> mySQL 3.23.53a is PRE-installed.
>
> I compile PHP with: --with-mysql=shared
>
> What is the difference between
> --with-mysql=shared
> and
> --with-mysql=<PATH>
They are not mutually exclusive. shared means that it'll be compiled as a
shared PHP module (.so file which should be generated in
/usr/lib/apache/php/). Specifying a path tells PHP to compile against the
MySQL libraries in the path specified. Otherwise MySQL support will be
compiled against libraries internal to the PHP source distro. If the
library bundled with PHP is much older than the MySQL you are running you
may want to compile against the library for the version of MySQL you are
running. If you wanted to generate a shared module *and* use MySQL
libraries that exist on the server for the compile, then you'd do this:
--with-mysql=shared,<PATH> (if that doesn't work it may be <PATH>,shared -
without looking I'm not positive, but pretty sure).
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/