ok... PDO_firebird was the wrong dll. i should have used php_interbase.dll instead. have i downloaded the complete zip file first i wouldn't have ran into this problemm. i first used the installer, then i downloaded the PECL package that had the PDO_firebird (which caused me to think this was the right one), and last i downloaded the complete zip file which didn't have the PDO_firebird but had the php_interbase.dll. tricky. since i didnt find the php_interbase.dll i thought "Luciano Eicke" <leicke@xxxxxxxxxxxxxxxx> wrote in message news:20041024230757.54211.qmail@xxxxxxxxxxxxxxx > sorry for the double post. > > i was reading the documentation and found my problem was path related. > > the problem was php was unable to find the php_pdo.dll inside the extensions > directory. > i just copied it under the php installation directory and now "php-cgi -m" > lists PDO_Firebird > under the PHP Modules. > > i also noticed a new error message indicating php_pdo.dll should be loaded > before any calls > to PDO related modules, so i enabled it in the php.ini extensions section. > > but now i found another problem: > > my test page returns: > > Call to undefined function ibase_connect() > > my teste page is > > <?php > > $host = "127.0.0.1:/data/mydb.fdb"; > $username = "sysdba"; > $password = "pwd"; > $connection = ibase_connect($host, $username, $password, 'ISO8859_1', > '100', '1'); > $sql = "select MyField from MyTable"; > > $rid = @ibase_query($connection, $sql) or die(ibase_errmsg()); > > while ($row = ibase_fetch_row($rid)) { > echo $row[0] . "<br>"; > } > ibase_close($connection); > > ?> > > > any hints on this ? > > > "Luciano Eicke" <leicke@xxxxxxxxxxxxxxxx> wrote in message > news:20041024221941.80092.qmail@xxxxxxxxxxxxxxx > > hi, > > > > i'm having a hard time trying to get the firebird extension working with > > PHP. > > > > php is installed and running as CGI under Apache, but when i add the > > extension=php_pdo_firebird.dll to my php.ini i can't get php to start. > > > > it aborts with "unable to load dynamic library ./php_pdo_firebird.dll one > of > > the files needed to run this application cannot be found" . > > > > i used DEPENDS to check the required files and all of them are visible to > > the system: > > PHP5TS.DLL (php install dir), GDS32.DLL (windows/system), PHP_PDO > > (php/extensions) and MSVCRT (windows/system). > > > > i also tried to load the php_zip.dll extension and it worked, so the > problem > > is the firebird extension. > > > > any hints ? > > > > regards, > > > > luciano eicke -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php