Subject Re: [firebird-php] Creating an Interbase.so file
Author Darren
Avoid firebird 1.5 and php on linux(RH mandrake,fc,ubuntu etc) it dosent
install properly like firebird 1.0 did with php rather see if firbird
2.0 will work when it arrives one day ;-) or just use 1.0

On Wed, 2005-07-13 at 11:23 +0200, Lutz Brückner wrote:
> Todd Cary wrote:
>
> > I am running Fedora Core 3 and I want to install and integrate
> Interbase
> > (Firebird 1.5) with php. To create the "so" file, I downloaded php
> > 4.4.0 and did a
> >
> > ./configure --with-interbase=shared,/opt/firebird
> > make
> >
> > Then I place the interbase.so into /usr/lib/php4 and make an
> > interbase.ini in /etc/php.d to load the interbase.so.
> >
> > When I do a restart of httpd, I get this error:
> >
> > PHP Warning: Unknown(): Unable to load dynamic library
> > '/usr/lib/php4/interbase.so' - /usr/lib/php4/interbase.so: failed to
> map
> > segment from shared object: Permission denied in Unknown on line 0
> >
> > Any suggestions?
>
> What firebird/interbase client library is compiled into the
> extensions?
> You can check this with
>
> ldd /usr/lib/php4/interbase.so
>
> Is it the one from your /opt/firebird/lib folder?
>
> I just was forced to hack the php4.4.0/ext/interbase/config.m4 file
> to
> ensure that libfbclient is used instead of libib_util when compiling
> php
> 4.4.0 with firebird 1.5.2 support. Before that the configure failed
> with
> an 'isc_detach_database not found' error.
>
> Lutz
>
> --
> web based Firebird and InterBase administration:
> http://www.ibwebadmin.net
>
>
> [Non-text portions of this message have been removed]
>
>
>
> ______________________________________________________________________
> YAHOO! GROUPS LINKS
>
> 1. Visit your group "firebird-php" on the web.
>
> 2. To unsubscribe from this group, send an email to:
> firebird-php-unsubscribe@yahoogroups.com
>
> 3. Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> Service.
>
>
> ______________________________________________________________________
>