ID: 19599 Updated by: [EMAIL PROTECTED] Reported By: ivoras at fer dot hr Status: Bogus Bug Type: DBM/DBA related Operating System: Linux (Debian 3) PHP Version: 4.2.3 Assigned To: helly New Comment:
With flatfile i mean "--enable-flatfile" However do you use lib-d2.a or .so? In case of .a use the .so (it may be necessary to recompile db2 with "--enable-shared"). To test this use "ldd php". Previous Comments: ------------------------------------------------------------------------ [2003-03-13 08:52:10] b0nks at nerim dot net actually i have db2 support enabled and it does not work at all, i'll try and tell you what the result is without ndbm enabled. what do you mean "enabling flatfile"? Did another test: on a RedHat 8 / PHP 4.3.1 same result ------------------------------------------------------------------------ [2003-03-10 17:12:38] [EMAIL PROTECTED] For a first start please only use db2 OR db3 support. If this doesn't help disable ndbm also. Then enable flatfile and see if this works. Since you cannot have both db2 and db3 enabled this stays bogus. ------------------------------------------------------------------------ [2003-03-10 03:00:42] b0nks at nerim dot net I got the same error whatever dba_* function i use: i have tested on Windows XP / PHP 4.2.0 Linux GNU Debian / PHP 4.1.2 Linux GNU Debian / PHP 4.3.1 dba support is enabled in all versions refering to phpinfo(); ------------------------------------------------------------------------ [2002-09-25 17:11:58] [EMAIL PROTECTED] Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. ------------------------------------------------------------------------ [2002-09-25 13:34:00] ivoras at fer dot hr Running php with db3 and db2 and gdbm causes all dba_* functions to fail with "driver initialization failed" error regardless of which driver is used. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=19599&edit=1