Need to use the dba_* calls instead to the dbm* calls

ds

David wrote:

> Hi,
>
> I am unable to get db3 working. I get  a
> "Fatal error: Call to undefined function: dbmopen()"
> error when I try to use dbmopen.
>
> OS is FreeBSD 4.2-RELEASE and I am using the php-4.0.4pl1tarball.
> I configure php with
>
> ./configure --with-mysql --enable-track-vars --enable-ftp
> --enable-trans-sid --with-db3=/usr/local/BerkeleyDB.3.2
> --with-apache=../apache_1.3.19 -disable-debug
> --enable-force-cgi-redirects
>
> After the 'make install' if I go the the Apache src/modules/php4 dir and
> do a
> nm -g libmodphp4.a |grep dbmopen
> I dont get any symbols and so the above error.
> nm -g libmodphp4.a |grep mysql_query
> gives:
>
> 00001b0c T php_if_mysql_query
> 00002968 T mysql_query
>
> Also I know that Berkeley DB has installed properly as I have compiled C
> code with
> -I/usr/local/BerkeleyDB.3.2/include -L/usr/local/BerkeleyDB.3.2/lib -ldb
>
> furthermore,  phpinfo() says that in addition to mysql and ftp, dba is
> enabled with db3 as a supported handler.
>
> I know I am missing something here and would appreciate any pointers and
> leads from you.
>
> Thank you.
>
> David.
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to