Re: PHP linux interbase Apache
| From: | Meir Kriheli | Date: | Thu, 06 Sep 2001 13:17:25 +0000 |
| Subject: | Re: PHP linux interbase Apache | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-12216@lists.php.net to get a copy of this message | ||
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