Problems with dba_* functions... AGAIN
| From: | Jon Simonds | Date: | Fri, 02 Jun 2000 00:30:24 +0000 |
| Subject: | Problems with dba_* functions... AGAIN | ||
| References: | 1 | Groups: | php.db php.general |
| Request: | Send a blank email to php-db+get-165@lists.php.net to get a copy of this message | ||
Hello, did anybody have any ideas on this besides switching to APXS, as this
is not an option on this production machine. ANY help will be GREATLY
appreciated.
Thanks,
Jon
-----Original 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