Page 1 of 1

PHP for Windows and Interbase

Posted: Sat Jul 13, 2002 12:04 pm
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

Posted: Sat Jul 13, 2002 1:58 pm
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)