Problems with dba_* functions...

From: Date: Tue, 30 May 2000 20:59:49 +0000
Subject: Problems with dba_* functions...
Groups: php.db php.general 
Request: Send a blank email to php-db+get-115@lists.php.net to get a copy of this message
Hello all. I am having some problems with the dba_* functions with PHP 3.0.16 and apache 1.3.12. ANY help will be greatly appreciated. I have installed both the gdbm and Berkeley DB2 support when running the configure script, and both appear to confiure properly... Here is a snip from the configuration script... ------------------------------------------ checking for gdbm_open in -lgdbm... yes checking preferred dbm library... gdbm chosen ...CUT... checking for gdbm_open in -lgdbm... yes checking for GDBM support... yes checking for NDBM support... no checking for db_appinit in -ldb... yes checking for db_appinit in -ldb2... no checking for db_appinit in -lc... no checking for Berkeley DB2 support... yes checking for DBM support... no checking for CDB support... no ------------------------------------------ After PHP is compiled and installed, if I try to use either the gdbm or db2 handler to the dba_* functions, I get the following error: Warning: driver initialization failed in /test.php3 on line 11 If I use a handler that I didn't compile in, the get an error message as follows: Warning: no such handler: ndbm in /test.php3 on line 11 which seems to indicate that the support is compiled in and recognized but OBVIOUSLY not initializing properly. Any help will be GREATLY appreciated. System: RedHat Linux 6.2 Apache 1.3.12 PHP 3.0.16 Berkeley DB 2.7.7 If more information is needed, let me know. THANKS -Jon ---------------------------------------------------- E-mail sent with SYMO Webmail http://www.symo.com

« previous php.db (#115) next »