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
 [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-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 13:01:31 2024 UTC