php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6889 ./configure script does not disable ndbm
Submitted: 2000-09-26 11:07 UTC Modified: 2000-09-29 08:58 UTC
From: lmit at home dot com Assigned:
Status: Closed Package: PHP options/info functions
PHP Version: 4.0.2 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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: lmit at home dot com
New email:
PHP Version: OS:

 

 [2000-09-26 11:07 UTC] lmit at home dot com
The Configure script does not allow ndbm to be disabled.
The --without-ndbm flag does not work. 
NDBM is still picked as the default dbm library, even though configure sais gdbm was "chosen".

when I run phpinfo() NDBM is the supported default even though gdbm is listed. ie

                      dba
V1 ($Id: dba.c,v 1.21 2000/07/13 18:44:57 eschmid Exp $) gdbm 

                       db
Sleepycat Software: DB 2.4.14: (6/2/98)ndbm support enabled 


The hell this causes me is that I have databases created with php3 that will not open using php4.0.2 using the dbmopen().. functions. 
dblist() tells me that ndbm is being used, BUT NOWHERE ON FAQ'S, PHP.NET, KNOWLEDGE BASE, NEWSGROUPS, PHP.INI IS THERE MENTION ON HOW TO SWITCH DBM LIBRARIES. 

I CANNOT DISABLE IT, A CANNOT SWITCH IT. 
upgrading from 4.0.1pl2 to 4.0.2 has just killed me.

i finally butchered configure to kill all sh test for ndbm  to finally force it to say no to NDBM. but I should not have to do that, and what happens to the next upgrade.
I have this whole ness over again.

Please address this.  or at least tell us how to switch to the dbm library of choice.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-09-29 08:58 UTC] sniper@php.net
Fixed in CVS. 
You now have to specify --with-db or e.g. --with-gdbm to enable it.

--Jani


 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Sun Sep 15 12:01:26 2019 UTC