Bug 499036 - RFE : firebird module for php
RFE : firebird module for php
Product: Fedora
Classification: Fedora
Component: php (Show other bugs)
All Linux
low Severity medium
: ---
: ---
Assigned To: Remi Collet
Fedora Extras Quality Assurance
Depends On: 498790
  Show dependency treegraph
Reported: 2009-05-04 17:19 EDT by Philippe Makowski
Modified: 2009-06-21 08:27 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 499098 (view as bug list)
Last Closed: 2009-06-21 08:27:51 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Philippe Makowski 2009-05-04 17:19:18 EDT
Since Firebird will be packaged into Fedora and EPEL, it would be nice to have  Firebird module for php, as Debian and Mandriva have.

cf https://bugzilla.redhat.com/show_bug.cgi?id=498790
Comment 1 Remi Collet 2009-05-05 00:24:28 EDT
For EPEL, you need to contact the maintainer of "php-extras" package which provides extension for php working with libraries available in EPEL (we could'nt modify the RH php package)

@joe : any comment about adding this extension to php main package in Fedora ?
Comment 2 Joe Orton 2009-05-05 06:50:39 EDT
There's no "firebird" module shipped in the PHP tarball - there's "interbase" and there's "pdo_firebird", but, should be fine to enable either/both once the deps are there, AFAIK.
Comment 3 Philippe Makowski 2009-05-05 16:27:47 EDT
(In reply to comment #2)
> There's no "firebird" module shipped in the PHP tarball - there's "interbase"
yes in PHP it is still named "interbase" but it build without problem with firebird

here how it is build in the Mandriva package
%global modname firebird
%global dirname interbase
%global soname interbase.so
%global inifile 42_%{modname}.ini

Summary:        Firebird database module for PHP
Name:           php-%{modname}
Version:        5.2.6
Release:        0%{?dist}
Group:          Development/Libraries
URL:            http://www.php.net
License:        PHP License
Source0:        %{modname}.ini
BuildRequires:  php-devel >= 5.2.0
BuildRequires:  firebird-devel
Provides:       php-interbase = %{version}-%{release}
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-buildroot

This is a dynamic shared object (DSO) for PHP that will add Firebird
database support.


%setup -c -T
cp -dpR %{_usrsrc}/php-devel/extensions/%{dirname}/* .


%configure2_5x \
       --with-libdir=%{_lib} \

> and there's "pdo_firebird", but, should be fine to enable either/both once the
> deps are there, AFAIK.  

Comment 4 Remi Collet 2009-05-09 12:08:56 EDT
First build available in my private testing repo (php 5.3.0)
php-interbase provide interbase and pdo_firebird

@Philippe : please try it.

I will update rawhide spec after F11.
Comment 5 Philippe Makowski 2009-05-09 14:44:26 EDT
(In reply to comment #4)
> @Philippe : please try it.
for me it seems ok
but I'm not a PHP dev

I send a mail to the firebird-php group
Comment 6 Remi Collet 2009-06-21 08:27:51 EDT
New PHP 5.2.10 rawhide build provides php-interbase (interbase and pdo_firebird extension)

Note You need to log in before you can comment on or make changes to this bug.