[CentOS] PHP + firebird

Tue Feb 28 03:56:00 UTC 2006
Ignacio Vazquez-Abrams <ivazquez at ivazquez.net>

On Tue, 2006-02-28 at 00:32 -0300, Marcus Carvalho wrote:
> 2006/2/27, Ignacio Vazquez-Abrams <ivazquez at ivazquez.net>:
> >
> > On Mon, 2006-02-27 at 19:45 -0300, Marcus Carvalho wrote:
> > > I have a centos 4.2 with apache. I need allow a php site access
> the
> > > firebird DB. How can I do this?
> >
> > The easy way would be to install the Firebird libraries and headers,
> > grab the PHP SRPM, add --with-interbase to the %configure line, and
> > rebuild.
> >
> > The clean way would be to modify the PHP spec file to create a
> separate
> > php-interbase extension package, but that's a bit more work.
> >
> >
> Thanks Ignacio,
>
> But I have a doubt...
>
> I instaled PHP 4.3.9 from yum install. Should I remove it from the
> system
> and configure the php source adding --with-interbase %configure line??

No, you should rebuild from SRPM, modifying the release in order to make
it higher than the current one (I recommend adding a small tag such as
".ibase" to the end instead of incrementing), and then install the
rebuilt RPMs.

-- 
Ignacio Vazquez-Abrams <ivazquez at ivazquez.net>
http://centos.ivazquez.net/

gpg --keyserver hkp://subkeys.pgp.net --recv-key 38028b72
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.centos.org/pipermail/centos/attachments/20060227/743577f4/attachment-0003.sig>