RE: [PHP] Re-compiling PHP
| From: | Matthew Sims | Date: | Thu, 21 Oct 2004 19:43:45 +0000 |
| Subject: | RE: [PHP] Re-compiling PHP | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-200023@lists.php.net to get a copy of this message | ||
> On Thu, 2004-10-21 at 14:52 -0400, Mike R wrote:
>>
>>
>> > Mike R wrote:
>> > > I am trying to re-compile php, but keep getting erros that the mysql
>> > > extensions are not installed. I got the binary from php.net
>> > and included
>> > > mysql in configure (following). What am I not doing correctly?
>> >
>> > You're trying to compile the binaries?
>>
>> Sorry, the tar'd file I should say. ;p
>>
>
> You probably need to do --with-mysql=/path/to/mysql/libs
>
> It's not finding them by itself..so you my need to be a bit more
> specific.
>
> ..you have mysql libs installed, right?
>
> -Robby
I think just doing --with-mysql=/path/to/mysql is all you need to do. Once
PHP sees the MySQL base directory it knows where the headers and libs are.
--
--Matthew Sims
--<http://killermookie.org>