Subject Re: [firebird-php] Re: configure php to use firebird/interbase functions
Author Lester Caine
dan_berbece wrote:
> --- In firebird-php@yahoogroups.com, "dan_berbece" <dan_berbece@...>
> wrote:
>> Hello all!
>>
>> I try to use ibase functions from php but I get the following
> error:
>> "Fatal error: Call to undefined function: ibase_connect()"
>>
>> Can anyone help me configure php to use theese functions, please?
>> I use php 4.4.1 on a Slackware 11 machine...
>>
>> Thanks,
>> ArchonMk
>>
> Well, thanks for your answers. But now I have an aditional problem...
>
> checking for InterBase support... yes, shared
> checking for isc_detach_database in -lgds... no
> checking for isc_detach_database in -lib_util... no
> configure: error: libgds or libib_util not found! Check config.log
> for more info
> webserver:/usr/local/apache2/htdocs/webserver/alex/php-
> 4.4.1/ext/interbase # errig.log for more information.
>
> This is the error message I get when trying to enable that module.
> Any ideeas on what should I do?

For PHP4 - I'm not sure anybody using Firebird has checked that out in a long
while. Personally I never even used PHP4 ;)
But it does sound as if the library paths are probably not correct. It could
simply be that it is not actually seeing the Firebird client, and you will
need the older gds32.so ( I think ) client for older builds of PHP.

--
Lester Caine - G8HFL
-----------------------------
Contact - http://home.lsces.co.uk/lsces/wiki/?page=contact
L.S.Caine Electronic Services - http://home.lsces.co.uk
MEDW - http://home.lsces.co.uk/ModelEngineersDigitalWorkshop/
Treasurer - Firebird Foundation Inc. - http://www.firebirdsql.org/index.php