|
Posted by John Nichel on 12/29/05 15:46
Curt Zirzow wrote:
> On Wed, Dec 28, 2005 at 11:58:02AM -0500, John Nichel wrote:
>
>>M. Sokolewicz wrote:
>>
>>>John Nichel wrote:
>>>
>>>
>>>>M. Sokolewicz wrote:
>>>>
>>>>
>>>>>Bagus Nugroho wrote:
>>>>>
>>>>>
>>>>>>Hi All,
>>>>>>
>>>>>>Is mysqli module enable by default on php 4 as mysql module.
>>>>>
>>>>>
>>>>>
>>>>>no
>>>>>
>>>>>
>>>>>>If not enable by default, where I can get this module(hopefully a
>>>>>>direct link to download)
>>>>>
>>>>>
>>>>>
>>>>>you can't, it *requires* PHP 5
>>>>
>>>>
>>>>
>>>>I've been running mysqli on 4.3.x and 4.4
>>>>
>>>
>>>according to CVS it has a dependency on PHP 5
>>>
>>
>>Undocumented 'feature'. ;)
>
>
> Please do tell how you even got it working..
>
> % cd php44/ext/mysqli
> php44/ext/mysqli: No such file or directory.
> % cd pecl/mysqli
> pecl/mysqli: No such file or directory.
>
> The only thing I can think that perhaps might be done is:
>
> % cd php5x/ext/mysqli
> % phpize #php4 version of phpize
> % ./configure --with-mysqli=/usr/local/mysql/
> % make
Yes, you have to grab the source from php5. You'll have to point it to
the mysql config program that comes with MySQL => 4.1 Also, to get both
mysql and mysqli working, I had to configure mysqli as shared
(--with-mysqli=shared,/usr/local/mysql/mysql_config) We have not used
this in production yet (and I'm sure it's not recommended/supported),
but so far so good in our test enviroment.
--
John C. Nichel IV
Programmer/System Admin (ÜberGeek)
Dot Com Holdings of Buffalo
716.856.9675
jnichel@dotcomholdingsofbuffalo.com
[Back to original message]
|