Call to undefined function: dbmopen()
| From: | Cole_Pat at emc dot com | Date: | Wed, 07 Nov 2001 16:35:51 +0000 |
| Subject: | Call to undefined function: dbmopen() | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-14104@lists.php.net to get a copy of this message | ||
I'm new to php. Got the following error when trying to open a DBM:
Installation of PHP
was with the defaults, is there some additional SW that will allow DBM?
Fatal error: Call to undefined function: dbmopen()
<file://open> a DBM database; create if it doesn't exist
$fn = "/qes/IP4700
# $dbh = dbmopen( "$UserDefinedTSdir", "c" ) or die ( "Couldn't
open DBM" );
$dbh = dbmopen( $fn, "c" ) or die ( "Couldn't open DBM" );
dbmclose ($dbh);
==================cut=================
The following list the existing configurate commands available.
'./configure' '--with-apxs=/usr/local/sbin/apxs'
'--with-config-file-path=/usr/local/etc' '--enable-versioning'
'--with-system-regex' '--disable-debug' '--enable-track-vars'
'--with-gd'
'--with-mysql' '--with-gd=/usr/local' '--with-freetype-dir=/usr/local'
'--with-jpeg-dir=/usr/local' '--with-png-dir=/usr/local' '--with-zlib'
'--with-mysql=/usr/local' '--enable-ftp' '--with-curl=/usr/local'
'--prefix=/usr/local' 'i386--freebsd4.3'
I have rebuild with the "gdbm" but it still fails with the same error
message....
> Pat Hargress-Cole
> Data General A Division of EMC 2
> Internet: colep@dg-rtp.dg.com
> Phone: 919-248-5839
>
>