php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1915 GDBM functions disappeared
Submitted: 1999-07-28 21:10 UTC Modified: 1999-08-21 06:01 UTC
From: marcelo at antares dot com dot br Assigned:
Status: Closed Package: DBM/DBA related
PHP Version: 4.0 Beta 1 OS: RedHat6.0
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
4 + 36 = ?
Subscribe to this entry?

 
 [1999-07-28 21:10 UTC] marcelo at antares dot com dot br
I installed RedHat6.0 full, then downloaded php4.0b1.
After that, got to the php directory and typed:

# ./configure --with-dbase --enable-track-vars
(during the ./configure a message shows that gdbm was detected, and
chosen)
# make all
# make install
(php is copied into /usr/local/bin)
after that I typed:
# /usr/local/bin/php
<?
	$fh=dbmopen("test.dbm", "c");
	dbmclose($fh);
?>
^D
and got:
Content-Type: text/html

<br>
<b>Fatal error</b>:  Call to undefined function:  dbmopen() in <b>-</b> on line <b>2</b><br>
#







Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-08-17 08:28 UTC] danny at cvs dot php dot net
They are still accessible via the "dba" extension.

The GDBM module has been commented out, presumably because we are supposed to migrate to the more generic dba interface
from dbm/gdbm/ndbm.

 [1999-08-21 06:01 UTC] sas at cvs dot php dot net
Use DBA instead:

http://www.php.net/manual/ref.dba.php3
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 13:01:28 2024 UTC