Subject Re: [ib-support] interbase.so: linking Interbase and PHP
Author Bert Hughes
Are you certain interbase.so needs to exist? I build PHP 4.2.3 from source
on two different RedHat 8.0 (and earlier versions also) with the following
configuration:

./configure' '--with-ldap' '--with-xml' '--with-interbase=/opt/interbase'
'--with-apxs2=/usr/sbin/apxs' '--prefix=/usr' '--exec-prefix=/usr'
'--sysconfdir=/etc' '--localstatedir=/var' '--with-config-file-path=/etc'
'--enable-inline-optimization' '--host=i686-pc-linux-gnu'
'--build=i686-pc-linux-gnu' '--target=i386-redhat-linux-gnu'
'--program-prefix=' '--with-pear=/usr/share/pear' '--enable-bcmath'

The important thing here is the "--with-interbase=" part. Path is where-ever
you've installed interbase/firebird.

Everything works, there is no 'interbase.so'. Interbase access is
compiled right into the PHP module. PHP doesn't care if I'm using interbase
or firebird. Both work.
Webserver is Apache 2.0; on Apache < 2 use "--with-apxs=...", not apxs2.

Bert Hughes


----- Original Message -----
From: "Xavier Solé" <x.sole@...>
To: <ib-support@yahoogroups.com>
Sent: Friday, February 07, 2003 7:12 AM
Subject: [ib-support] interbase.so: linking Interbase and PHP


> Hello,
>
> I know this question is perhaps more related to PHP than to
> Firebird/Interbase, but I've tried with the PHP forum and got no reply. So
I
> thought that someone here may be able to help me (at least it has some
> relationship with Firebird). I would be grateful if someone could help me.
>
> Could anyone tell me how to create "interbase.so" library from the php
> source files? I have installed the package php-devel, and I've tried to
run
> phpize inside the "ext/interbase" php source files directory, but it
doesn'
> seem to work. I had everything working with an older version of PHP
(4.0.1),
> but we have updated the OS of our webserver (from Mandrake 8.0 to 9.0) and
> so the new version of PHP is 4.2.3. We have tried to use the older
> "interbase.so", but it doesn't seem to work, so we are trying to create a
> new one corresponding to PHP version 4.2.3 to see if it works.
>
> Thank you very much and sorry for the (possible) OT.
>
> Xavier.
>
> -------------------------------------------------
> Xavier Solé - x.sole@...
> Cancer Epidemiology
> Catalan Institute of Oncology
> Av. Gran Via s/n, km. 2,7
> 08907 L'Hospitalet de Llobregat,
> Barcelona, Catalonia.
> Tel: +34 93 260 74 01
> Fax:+34 93 260 77 87
>
>
>
>
> To unsubscribe from this group, send an email to:
> ib-support-unsubscribe@egroups.com
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>
>