php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8016 gdbm functions no longer work
Submitted: 2000-11-28 15:53 UTC Modified: 2000-11-28 17:40 UTC
From: smarlowe at ihs dot com Assigned:
Status: Closed Package: DBM/DBA related
PHP Version: 4.0.3 OS: Linux RedHat 6.2
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: smarlowe at ihs dot com
New email:
PHP Version: OS:

 

 [2000-11-28 15:53 UTC] smarlowe at ihs dot com
Compiling php with the --with-gdbm php will build and install properly, and with no warnings, claiming to be adding gdbm functionality, but attempts to use the dbmopen() command results in a fatal error message of "Call to undefined function: dbmopen() in /www/htdocs/test/dbm.html on line x"

line producing the error is:

$dbm = dbmopen ("lastseen", "w");

This problem did not exist with 4.0.0 through 4.0.2

configure line:

./configure --with-apxs=/www/bin/apxs --with-gdbm

php.ini is stock

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-11-28 17:40 UTC] sniper@php.net
Add --with-db to your configure line. DB extension is not 
enabled by default anymore.

--Jani
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri May 09 14:01:27 2025 UTC