php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13740 Call to undefined function: dbmopen()
Submitted: 2001-10-18 18:18 UTC Modified: 2001-10-18 18:21 UTC
From: colep at dg-rtp dot dg dot co, Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: 4.0.6 OS: Free BSD
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: colep at dg-rtp dot dg dot co,
New email:
PHP Version: OS:

 

 [2001-10-18 18:18 UTC] colep at dg-rtp dot dg dot co,
I'm new to php.  Got the following error when trying to open a DBM: Installation of PHP was with the defaults, is there some additional SW that will allow DBM?

Fatal error: Call to undefined function: dbmopen() 


//open a DBM database; create if it doesn't exist
$fn =  "/qes/IP4700
# $dbh = dbmopen( "$UserDefinedTSdir", "c" ) or die ( "Couldn't open DBM" );
$dbh = dbmopen( $fn, "c" ) or die ( "Couldn't open DBM" );
dbmclose ($dbh);



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-10-18 18:21 UTC] jeroen@php.net
You probably didn't compile with dbm support.

Ask support questions on www.php.net/support.php (php-install in your case), this is _not_ a support forum.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed May 07 12:01:32 2025 UTC