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
 [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: Wed Apr 24 16:01:31 2024 UTC