Subject Re: [firebird-php] Re: Problems about PHP connect Firebird
Author Milan Babuskov
u.masotti wrote:
> At the moment I downloaded all php-5.2.5 tarball, but I need only to
> build interbase.so.

Install the development package (containing phpize command):

apt-get install php5-devel (or whatever it is called)

> I find needed sources in ./ext/interbase but a first try to build all
> sorted that mechanism is almost cryptic and ./configure stops
> complainig that "C compiler (gcc ) cannot build executables" (????)

Looks like you don't have compiler installed. I believe it goes
something like this:

apt-get install build-essential

Once you're done, do to ext/interbase and run 'phpize'. Maybe you don't
have to if you already have 'configure' script there, but then it
doesn't look like vanilla php5 source?

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

You'll find the interbase.so file in .libs directory.

--
Milan Babuskov
http://www.guacosoft.com