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
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Sun May 05 16:01:30 2024 UTC