Hi !
I found a solution for this case.
When you download the sources from distro ( Conectiva ), the package contains the /ext directory.
Below this directory there is a directory for each module that can you compile.
Changing to desired directory module, just execute :
phpize
This is a pear script which came with the distro sources and, based on file config.m4 in this directory, create needed scripts for compile the module.
Next, just execute basic compiling commands :
./configure <parameters>
make
After compiling, a module directory was created below the directory where you are. There, the file .so will be.
Finally, copy this file to directory /usr/lib/php4 ( or equivalent ) and edit php.ini, adding the desired extension.
For Interbase, the steps for compiling are :
phpize
./configure --with-interbase=shared,/opt/interbase
make
cp modules/interbase.so /usr/lib/php4
then, you edit php.ini, adding the following line :
extension = interbase.so;
Dont forget reinitialize the Apache server.
I make this for Dbase module too and all is working fine.
Thanxs,
Evandro