If you are trying to compile php with the option –with-interbase and receive this error:
configure: error: libgds, libib_util or libfbclient not found
it means that you don’t have firebird development libraries installed.
If you are running on debian you can easily install firebird development libraries using:
aptitude install firebird2-dev
and you should be able to move forward with the compile.