php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10798 dba_open (mode "c") problem
Submitted: 2001-05-10 13:52 UTC Modified: 2002-01-12 02:25 UTC
From: adrieder at sbox dot tugraz dot at Assigned:
Status: Closed Package: DBM/DBA related
PHP Version: 4.0.5 OS: Solaris 8 (Sparc)
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: adrieder at sbox dot tugraz dot at
New email:
PHP Version: OS:

 

 [2001-05-10 13:52 UTC] 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


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-01-12 02:25 UTC] swm@php.net
This is fixed in current CVS.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 14 02:01:30 2024 UTC