Subject Re: [firebird-php] Re: Firebird/PHP/Apache installation howto for Linux (FC4)?
Author Milan Babuskov
sc_odo wrote:
> download the PHP source if you haven't done already.
> Rebuild PHP using the following option:
> ./configure --with-interbase=/path/to/firebird +rest of your options
> then
> make
> make install

If you already have a running PHP that you don't want to touch, you can
add Firebird support as loadable module. Unpack the source, cd to
ext/interbase and run:

$ phpize
$ ./configure --with-interbase=shared,/path/to/firebird
$ make

After this, you'll get interbase.so file in modules subdirectory. Copy
it to /usr/lib/php/extensions (or whatever is set in php.ini for
extension directory). Add

extension=interbase.so

to php.ini and restart Apache.


--
Milan Babuskov
http://www.flamerobin.org