Subject Re: [firebird-php] PHP extension problem
Author Milan Babuskov
nilay2675 wrote:
> I have developed a PHP extension in my machine(Linux 2.6.18-8.el5 #1
> SMP Fri Jan 26 14:15:21 EST 2007 i686 i686 i386 GNU/Linux) which when
> I try to install in other machine (Linux 2.6.9-34.EL #1 Fri Feb 24
> 16:44:51 EST 2006 i686 i686 i386 GNU/Linux) does not work.

"Does not work" in what way?

> The commands which i follow to compile PHP extension is
> phpize
> ./configure

I believe you need something like:

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

> make all install
>
> I have checked the versions of PHP in both machines. They are identical.
> Please help me if you have any idea about this issue.

You can see the original configure line from phpinfo() output and use
that. Or you can just build the extension, without rebuilding the whole PHP:

http://www.firebirdfaq.org/faq191

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