Thank you for your answer
Interbase is installed in /opt/interbase. I don't use --with-apxs.
What I need now is to eanble connection to interbase through PHP.
It seems to me I only need to compile PHP with the --with-interbase=/opt/interbase to
create the file interbase.so.But I guess I'm wrong
Thank you for your help

steph

Paul Cooper a écrit :

> On Thu, Sep 06, 2001 at 03:38:18PM +0100, Stephane MOREL wrote:
> > Thank you for your answer
> > after a glance on the net I have found I need interbase.so. This is not present
> > on my disk do you how can I retrieve it
> > steph
>
> How and where did you intsall interbase - it's been a while so I forget.
> I think the rpm version installs itself in /opt/interbase (you can check
> with rpm -ql interbase). If that is the case then you need to configure
> with
>
> ./configure --with-apxs=/path/to/apxs --with-interbase=/opt/interbase
> --enable-track-vars
>
> Paul
>
> > Meir Kriheli a écrit :
> >
> > > On Thursday 06 September 2001 13:31, Stephane MOREL wrote:
> > > > Hi all
> > > > I'm new on PHP. I've installed PHP interbase Apache correctly. But I
> > > > would like to connect Interbase database through PHP. So I enable
> > > > interbase support for php by doing this :
> > > > ./configure --with-interbase --with-apache --enabled-track-vars
> > >
> > > if you compile with --with-apache, you'll have to recompile apache too. You
> > > can compile it as a shared module --with-apxs=<path to your apxs>.
> > >
> > > Note: you'll need Apache development stuff (Depends on your distro).
> > >
> > > Any way after running make install make sure you've restarted Apache.
> > >
> > > > make
> > > > make install
> > > > Evreything works fine
> > > > When I do this :
> > > > <?
> > > > $conn=ibase_connect("192.168.2.2:/opt/interbase/examples/employee.gdb",
> > > > "SYSDBA", "masterkey");
> > > > if (!$conn)
> > > > { echo "Access Denied!";
> > > > exit; }
> > > > ?>
> > > > my browser say :Call to undifined function :ibase_connect.
> > > > I understood that I must enable the extension in php.ini. I think the
> > > > extension was automatically added to my php.ini but I can not find any
> > > > entry in php.ini for interbase.
> > > > If someone could help
> > > > TIA
> > > >
> > > > Steph
> >
> >
> > --
> > PHP Database Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
> --
> -----------------------------------------------------------------
> Paul Cooper                             |  Tel: 0121 331 7858
> Senior Programmer and Database Engineer |  Fax: 0121 331 7859
> UCEcom                                  |  mailto:[EMAIL PROTECTED]
> University of Central England           |  http://www.ucecom.com
> Birmingham, B4 7DX                      |
> -----------------------------------------------------------------


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to