Subject Re: [firebird-php] Creating an file
Author Lutz Br├╝ckner
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 into /usr/lib/php4 and make an
> interbase.ini in /etc/php.d to load the
> When I do a restart of httpd, I get this error:
> PHP Warning: Unknown(): Unable to load dynamic library
> '/usr/lib/php4/' - /usr/lib/php4/ 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/

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.


web based Firebird and InterBase administration:

[Non-text portions of this message have been removed]