Subject | Re: [firebird-php] Creating an Interbase.so file |
---|---|
Author | Todd Cary |
Post date | 2005-07-13T14:07:45Z |
That may have been the problem since I was using the 1.5 rpm as well as
the 1.0 rpm. Both gave the error with php 4.4.0. I'll try the install
script.
Todd
Alan McDonald wrote:
the 1.0 rpm. Both gave the error with php 4.4.0. I'll try the install
script.
Todd
Alan McDonald wrote:
>>Avoid firebird 1.5 and php on linux(RH mandrake,fc,ubuntu etc) it dosent[Non-text portions of this message have been removed]
>>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
>>
>>
>
>that's not true - not really. The RPM doesn't work on red hat but the
>isntall script works fine. And the service runs fine too.
>Alan
>
>
>
>>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
>>>
>>>
>
>
>
>
>
>Yahoo! Groups Links
>
>
>
>
>
>
>
>
>