PHP 4.0 Bug #2247: db2 can't run

From: Date: Mon, 06 Sep 1999 10:02:12 +0000
Subject: PHP 4.0 Bug #2247: db2 can't run
Groups: php.dev 
Request: Send a blank email to php-dev+get-10608@lists.php.net to get a copy of this message
From: bate@china.com Operating system: freebsd PHP version: 4.0 Beta 2 PHP Bug Type: DBM/DBA related Bug description: db2 can't run when my program run to $h = dba_open("test.db2", "c", "db2", 0666); it reported Warning: no such handler: db2 in ...... my configure line: ./configure --with-mysql --with-db2 --with-apache=../apache_1.3.9 --enable-track-vars My program: <?php error_reporting(15); $h = dba_open("test.db2", "c", "db2", 0666); if(!$h) die("cannot open db\n"); for($i=0;$i<10;$i++) dba_replace("bate_$i", "$i", $h); dba_optimize($h); dba_close($h); $h = dba_open("test.db2", "r", "db2"); if(!$h) die("cannot open db\n"); for($key=dba_firstkey($h);$key != false;$key=dba_nextkey($h)) echo "**".$key."**"; dba_close($h); ?>

« previous php.dev (#10608) next »