PHP for Windows and Interbase

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
perazzo
Forum Newbie
Posts: 1
Joined: Sat Jul 13, 2002 12:04 pm

PHP for Windows and Interbase

Post by perazzo »

How can I access a local Interbase Server from my PHP program ?
My PHP and Apache for Windows are correctly installed. I can access Mysql. When I try to access Interbase I get the following message:

Fatal error</b>: Call to undefined function: ibase_connect() in <b>C:\temp\teste.php</b> on line <b>3</b><br>

Here is the test code:

<?php

$link=ibase_connect("localhost","user","password");
$link=ibase_close($link);

?>

Thanks
Rafael Perazzo
User avatar
BDKR
DevNet Resident
Posts: 1207
Joined: Sat Jun 08, 2002 1:24 pm
Location: Florida
Contact:

Post by BDKR »

If Interbase is supported in Windows, then it's just a matter of un-commenting the support for it in the configuration file.

You are seeing the error becuase the php engine is loading the associated dll at runtine.

Later on,
BDKR (TRC)
Post Reply