Subject | Re: [firebird-php] Firebird + PHP |
---|---|
Author | Milan Babuskov |
Post date | 2004-01-30T14:18:33Z |
Thomas Rueger wrote:
You have two options:
1) compile PHP from source and include interbase support
2) compile interbase.so module and load it
In either case you'll need php sources. When you compile interbase.so,
make sure you load it:
a) at runtime use dl() function or
b) change the php.ini, and add
extension=interbase.so
.so files on Linux are equivalent to .dll files on Windows.
If you have trouble compiling the module, we can help you, but you must
write what version of Firebird you're using, since 1.5 requires some
manual changes to the source, AFAIK.
HTH
--
Milan Babuskov
http://fbexport.sourceforge.net
> I get this information with a simple php info script.This means the interbase extension isn't loaded into PHP.
>
> So i have installed firebird and testet firebird, it works fine (tested with
> local isql, remote via Visual Basic).
>
> I have also some php scripts.
>
> I now tested the php scripts on my Linux (see above) and get an error
> undefined function ibase_connect .
You have two options:
1) compile PHP from source and include interbase support
2) compile interbase.so module and load it
In either case you'll need php sources. When you compile interbase.so,
make sure you load it:
a) at runtime use dl() function or
b) change the php.ini, and add
extension=interbase.so
.so files on Linux are equivalent to .dll files on Windows.
If you have trouble compiling the module, we can help you, but you must
write what version of Firebird you're using, since 1.5 requires some
manual changes to the source, AFAIK.
HTH
--
Milan Babuskov
http://fbexport.sourceforge.net