Page 1 of 1
PHP 4 / Interbase For Linux
Posted: Mon Sep 02, 2002 4:16 pm
by rrodrigues
Hi guys,
I need use php4 with interbase for linux but I can't, please help me.
here is my code :
ibase_connect("host","user","password").
here the error message:
Fatal error: Call to undefined function: ibase_connect() in /home/app/www/index.php on line 8.
Thank's a lot!!!
[/b]
Posted: Mon Sep 02, 2002 7:50 pm
by volka
your installation lacks the interbase support.
- If you compiled it yourself:
--with-interbase[=DIR]
Include InterBase support. DIR is the InterBase base install directory, defaults to /usr/interbase. - if you installed php from a distribution see if you can find a module for interbase and asure it is loaded in your php.ini
to check wether interbase-support is available or not use
and look for the module
PHP4 / Interbase for Linux
Posted: Tue Sep 17, 2002 12:08 pm
by jastern
i am struggling to get a PHP4 (on Linux) backend connection to our IB6 server, and there aren't any directions (i can find) anywhere. so i'm guessing that there are 2 methods (is this correct?):
1) i have to BUY IB6/Linux and install it on my Linux box just to be able to recompile PHP4 with LInux support so that i can connect to the other box where my real IB server is
OR
2) since my version of LInux (redhat 7.3) comes with a version of php4 which has ODBC support compiled-in, i could use an ODBC driver to connect to my IB server, and register the Interbase drivers with unixODBC (although, frustratingly, unixODBC is set up on RH7.3 without the GUI interface).
Anyway, to go the ODBC route, i think i still need the Linux ODBC/Interbase drivers, don't i?
And that is still (as far as i can tell) going to require me to buy IB/Linux, is it not?or, can i get them somewhere else without paying through the nose for a full copy of Interbase6/Linux?
Anyone have a preference for either of these 2 methods, and/or any additional methods or tips?
what are peoples' experiences? what way did most people go setting up their IB connection with PHP?
also is there any performance penalty using IB ODBC drivers?
is there a web page *anywhere* with a HOWTO or FAQ on how to go Interbase with PHP?
thanks for ANY help anyone can provide. it will be MUCH appreciated.