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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: marcelo at antares dot com dot br
New email:
PHP Version: OS:

 

 [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 09:01:29 2024 UTC