Solved: Re: [PHP-INST] Unable to add Brekeley db3 support

From: Date: Sat, 31 Mar 2001 21:38:47 +0000
Subject: Solved: Re: [PHP-INST] Unable to add Brekeley db3 support
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-2640@lists.php.net to get a copy of this message
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: php-install-unsubscribe@lists.php.net > For additional commands, e-mail: php-install-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.install (#2640) next »