|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #28384 Missing support for BOTH dbm and db4 on FreeBSD machines.
Submitted: 2004-05-13 12:33 UTC Modified: 2004-05-13 19:30 UTC
From: achowe at snert dot com Assigned: helly (profile)
Status: Closed Package: DBM/DBA related
PHP Version: 4.3.5 OS: FreeBSD
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: achowe at snert dot com
New email:
PHP Version: OS:


 [2004-05-13 12:33 UTC] achowe at snert dot com
FreeBSD builds libc with Berkeley DB 1.85 support included. This is a known boneheaded issue on their part. Apart from that, ALL the system databases, in particular Sendmail databases, are built by default using BDB 1.85.

PHP4 on FreeBSD appears to have been ported to use DB4, but this means its not possible to access and modify /etc/mail/{access, aliases, mailertable, virtusertable} etc. built using the older BDB.

Therefore it becomes necessary to support BOTH file types through handlers "dbm" and "db4". This is true for FreeBSD 4.x and I think FreeBSD 5.x


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2004-05-13 19:30 UTC]
I do not see the point here.
You can combine dbm handler with db2/db3/db4/gdbm/ndbm
handler. It is just a question in which library the dbm
functions live.
 [2004-07-28 17:10 UTC] dada at bbs dot giga dot net dot tw
How to enable dba with 'dbm' handler support?

The FreeBSD ports seems disable 'dbm' handler,
and I don't know how to enable it.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Jun 15 21:01:28 2024 UTC