Subject Re: [firebird-php] PHP 5.2.5 with FB 2.1
Author Milan Babuskov
Jiri Cincura wrote:
> On 1/24/08, Milan Babuskov <milanb@...> wrote:
>> I have a working PHP 5.2.3 + FB 2.1 installation on one of my
>> development machines. Did you recompile your PHP extension after
>> installing FB 2.1 ?
>
> Yes, the error came up right after rebuild. :( I'm running Slackware.

Let's see. Slackware 12, PHP 5.2.3 (default install), Firebird 2.1 Beta2
Classic. I did this to compile the extension:

- get the PHP source package from Slackware DVD and unpack it
- cd into ext/interbase
- run:

$ phpize
$ ./configure --with-interbase=shared,/opt/firebird
$ make
$ su
# cp .libs/interbase.so /usr/lib/php/extensions/

- edit the /etc/httpd/php.ini to include 'extension=interbase.so' line

# /etc/rc.d/rc.httpd restart


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