PHP 4.0 Bug #6889 Updated: ./configure script does not disable ndbm
| From: | Bug Database | Date: | Fri, 29 Sep 2000 12:58:48 +0000 |
| Subject: | PHP 4.0 Bug #6889 Updated: ./configure script does not disable ndbm | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-33854@lists.php.net to get a copy of this message | ||
ID: 6889
Updated by: sniper
Reported By: lmit@home.com
Status: Closed
Bug Type: PHP options/info functions
Assigned To:
Comments:
Fixed in CVS.
You now have to specify --with-db or e.g. --with-gdbm to enable it.
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2000-09-26 11:07:33] lmit@home.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.
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=6889