PHP 4.0 Bug #6007: DBA Functions not found
| From: | yubby at lanset dot com | Date: | Mon, 07 Aug 2000 16:23:43 +0000 |
| Subject: | PHP 4.0 Bug #6007: DBA Functions not found | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-28027@lists.php.net to get a copy of this message | ||
From: yubby@lanset.com
Operating system: RedHat Linux 6.2
PHP version: 4.0.1pl2
PHP Bug Type: DBM/DBA related
Bug description: DBA Functions not found
Similiar to the bug(s) reported for the "dbm" functions, I'm not able to use the
"DBA" functions. I created the simple 'test' script below and received the
error message seen below it. Note: there is no mention of the "dba" functions in the
supplied file: "FUNCTION_LIST.txt"
(I'm using Apache 1.3.12, RedHat 6.2, and PHP 4.0.1pl2)
<?php
$dbpath="/tmp/yubby.db";
$dbtype="gdbm";
if (!$db = dba_open($dbpath, "c", $dbtype)) {
echo "Database creation failed";
return -1;
}
?>
Fatal error: Call to undefined function: dba_open() in /usr/local/apache/html/php/test-dba.php on
line 5