From: [EMAIL PROTECTED]
Operating system: RedHat 7.2
PHP version: 4.2.0
PHP Bug Type: DBM/DBA related
Bug description: driver initialization failed in [script_name] on [line_num]
When executing the following code:
<?php
echo "Starting...<BR>\n";
$dba = dba_open("./test.db", "r", "ndbm");
?>
The following error message is encountered:
Warning: driver initialization failed in
/var/www/devuser/devbox-mx.dhs.org/www/test/test.php on line 5
PHP 4.2.0 was compiled with the following command:
'./configure' '--with-apxs=/usr/sbin/apxs' '--with-mysql' '--with-pgsql'
'--with-config-file-path=/etc' '--enable-track-vars'
'--disable-short-tags' '--disable-posix' '--with-curl' '--with-gettext'
'--with-ldap' '--with-zlib' '--with-dom' '--with-db'
'--with-gdbm=/usr/include/gdbm' '--with-ndbm=/usr/include/db1'
'--with-db2=/usr/include/db2' '--with-db3=/usr/include/db3'
--
Edit bug report at http://bugs.php.net/?id=17152&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=17152&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=17152&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=17152&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=17152&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17152&r=support
Expected behavior: http://bugs.php.net/fix.php?id=17152&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=17152&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=17152&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=17152&r=globals