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]
PHP 4 / Interbase For Linux
Moderator: General Moderators
-
rrodrigues
- Forum Newbie
- Posts: 1
- Joined: Mon Sep 02, 2002 4:16 pm
- Location: Brazil
your installation lacks the interbase support.
and look for the module
- 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
Code: Select all
<?php phpinfo(); ?>PHP4 / Interbase for Linux
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.
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.