php.net |  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-11-29 18:00 UTC] sniper@php.net
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.

--Jani

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 09:01:27 2024 UTC