|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8021 Berkeley db2 gets driver initialization failed error
Submitted: 2000-11-28 19:56 UTC Modified: 2000-11-29 18:00 UTC
From: gtc at cheshirelaw dot com Assigned:
Status: Closed Package: DBM/DBA related
PHP Version: 4.0.3pl1 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: gtc at cheshirelaw dot com
New email:
PHP Version: OS:


 [2000-11-28 19:56 UTC] gtc at cheshirelaw dot com
This is a PHP setup on my ISP, so I don't have root access.

PHP reports configure command as:

'./configure' '--with-apxs=/usr/apache/sbin/apxs' '--enable-versioning' '--with-mysql=/usr/local/mysql' '--enable-track-vars' '--enable-safe-mode' '--with-exec-dir=/big/dom/PHP_bin' '--enable-magic-quotes' '--enable-memory-limit' '--enable-sysvsem' '--enable-sysvshm' '--with-gd=/usr/gd-with_gif' '--with-zlib=/usr/lib' '--enable-bcmath' '--enable-inline-optimizations' '--with-ttf' '--with-xml' '--with-db2'

dba is shown as: "V1 ($Id: dba.c,v 1.21 2000/07/13 18:44:57 eschmid Exp $) db2"

dba_open("testdb", "n", "db2") with any option for opening the db gets a Warning: driver initialization failed in [test/index.php] on line 30, dba_open failed error.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2000-11-29 18:00 UTC]
This is no bug in PHP.  The user id which Apache is run with doesn't
have write access to the current directory. Try using some path
you know it does have write access to. Contact your ISP for more info.


PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue May 21 02:01:35 2024 UTC