#10798 [Com]: dba_open (mode "c") problem
| From: | video-anal617 at hotmail dot com | Date: | Tue, 20 Jul 2004 15:03:02 +0000 |
| Subject: | #10798 [Com]: dba_open (mode "c") problem | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-62863@lists.php.net to get a copy of this message | ||
ID: 10798
Comment by: video-anal617 at hotmail dot com
Reported By: adrieder at sbox dot tugraz dot at
Status: Closed
Bug Type: DBM/DBA related
Operating System: Solaris 8 (Sparc)
PHP Version: 4.0.5
New Comment:
<a href=http://meganasty-jerk-mens.da.ru>video
anal</a>
Previous Comments:
------------------------------------------------------------------------
[2002-01-12 02:25:15] swm@php.net
This is fixed in current CVS.
------------------------------------------------------------------------
[2001-05-10 13:52:48] adrieder at sbox dot tugraz dot at
<?php
$db = dba_open("/tmp/test.db", "c", "db3");
dba_insert ("key", "val", $db);
dba_close($db);
?>
If the db-file does not exist, the db will be created and the scripts
runs without problems.
If teh db-file already exists I get:
"driver initialization failed..."
Configuration:
apache-1.3.19
php-4.0.5
db3 3.2.9
./configure\
--without-mysql\
--with-oci8 \
--with-oracle\
--with-imap\
--with-ldap\
--with-db3 \
--enable-sysvsem\
--enable-sysvshm\
--with-mm=/usr/local\
--enable-track-vars\
--enable-trans-sid\
--enable-shmop\
--with-gd \
--with-xpm-dir=/usr/local/lib \
--with-jpeg-dir=/usr/local/lib \
--enable-inline-optimization \
--enable-bcmath \
--with-gettext \
--with-mcal=/usr/local/mcal \
--with-mcrypt \
--disable-debug \
--with-apxs=/usr/local/apache/bin/apxs
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=10798&edit=1