php.net |  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
 [2004-05-13 12:33 UTC] achowe at snert dot com
Description:
------------
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




Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-05-13 19:30 UTC] helly@php.net
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-2021 The PHP Group
All rights reserved.
Last updated: Tue Mar 02 10:01:24 2021 UTC