PHP 4.0 Bug #8231 Updated: db2 driver for dba not working

From: Date: Wed, 20 Dec 2000 01:54:45 +0000
Subject: PHP 4.0 Bug #8231 Updated: db2 driver for dba not working
Groups: php.dev 
Request: Send a blank email to php-dev+get-41881@lists.php.net to get a copy of this message
ID: 8231 Updated by: sniper Reported By: cech@debian.org Old-Status: Open Status: Feedback Bug Type: DBM/DBA related Assigned To: Comments: Does it get compiled in? ie. What does phpinfo() say about it? Does the script print out any error messages? --Jani Previous Comments: --------------------------------------------------------------------------- [2000-12-18 04:21:19] cech@debian.org Hi, it's still happening. I've tried and packaged RC6 and it doesn't seem to work with glibc 2.2 and LFS perhaps. <? $dbh = dba_open("/tmp/test.db2","c","db2"); if(!$dbh) { echo "dba_open failedn"; exit; } dba_replace ("key", "This is an example!", $dbh); if (dba_exists ("key", $dbh)) { echo dba_fetch ("key", $dbh); dba_delete ("key", $dbh); } dba_close ($dbh); ?> --------------------------------------------------------------------------- [2000-12-15 08:58:01] sniper@php.net Works for me just fine. Could you specify what doesn't work? And a sample script would be nice to have too.. --Jani --------------------------------------------------------------------------- [2000-12-13 10:04:17] cech@debian.org Hi, it has been reported to me, that the db2 driver for dba_ does not work in RC4. I've tried also RC5 with the same results. But ndbm and gdbm drivers work OK. The configure line is --with-apxs=/usr/bin/apxs --with-db2 --with-ndbm Petr Cech --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=8231

« previous php.dev (#41881) next »