Subject Re: [firebird-support] Firebird & PHP
Author Yves Glodt
On Thursday 31 July 2003 19:49, Todd Cary wrote:

Hi,

> I have installed Firebird on a Red Hat 9 Linux server, and I need to
> include Interbase (Firebird) in the PHP that is currently running and
> then include the new PHP with Apache.

I had the same probelm, since unfortunately no distro includes the
interbase.so php module... (except... maybe debian has it...)

So I installed the sources of php that came with rh9, applied all their
patches and compiled the interbase.so module.

If you want you can download it here:
http://www.mind.lu/~yg/shared/interbase.so
I compiled it against firebird 1.02

Copy it to:
/usr/lib/php4/interbase.so

and create the file:
/etc/php.d/interbase.ini with these lines:

; Enable interbase/firebird extension module
extension=interbase.so

restart apache "service httpd restart" and you should have firebird
support in your php.

Additionnally you can read this tutorial:
"Getting started with php and InterBase"
http://phpbuilder.com/columns/glodt20020212.php3

If you have more trouble let me know.
regards,
Yves

> Since Linux is quite new for me, I need to obtain some instructions
> on how to do this. Can someone point me in the appropriate
> direction?
>
> Many thanks....
>
> Todd

--
Linux 2.4.21-0.13mdk #1 Fri Mar 14 15:08:06 EST 2003 i686
21:37:49 up 54 min, 1 user, load average: 0.10, 0.37, 0.70