Question

I'm trying to connect to a Firebird database using the Zend Framework library (see Zend docs here : http://framework.zend.com/manual/en/zend.db.adapter.html)

The php_interbase.dll extension is activated. If I run this code:

$db = Zend_Db::factory('Php_Interbase', array(
    "host"      =>  "127.0.0.1",
    "username"  =>  "xxxxxx",
    "password"  =>  "xxxxxx",
    "dbname"    =>  "xxxxxx"
));

I get this error message:

Warning: include_once(Zend\Db\Adapter\Php\Interbase.php) [function.include-once]: failed to open stream: No such file or directory in C:\php\includes\Zend\Loader.php on line 146

Indeed Interbase.php file seems to be absent from the library (while all other DB drivers mentioned in the docs are present). What should I do? Where can I download the missing file(s)?

Was it helpful?

Solution

This adapter was released in version 1.7.3 in "extras" library, in the "Full Package". as per the last comment here http://framework.zend.com/wiki/display/ZFPROP/Zend_Db%2BFirebird-Interbase%2Bsupport

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top