Subject | Re: [firebird-php] Creating an Interbase.so file |
---|---|
Author | Lutz Brückner |
Post date | 2005-07-13T09:23:11Z |
Todd Cary wrote:
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]
> I am running Fedora Core 3 and I want to install and integrate InterbaseWhat firebird/interbase client library is compiled into the extensions?
> (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?
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]