Re: dba_open

From: Date: Wed, 01 Aug 2001 19:35:24 +0000
Subject: Re: dba_open
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-10969@lists.php.net to get a copy of this message
Well, I have made it a little further. I could not get it to configure using the --with-db2 switch even after installing the sleepycat software. I did succeed in compiling php using the --with-gdbm switch. After that I had a module called dba.so. I put that in the proper place and changed the line in the php.ini file and it now recognizes the dba_open() function call. Now it gives me this error message: Warning: driver initialization failed in <path>db.php on line 6 and it does not open the database. Any and all help are greatly appreciated. Thanks, Patrick "Patrick Callihan" <calliha2@msu.edu> wrote in message news:20010801013453.84530.qmail@pb1.pair.com... > HI, > > I have compiled php4 with the following command: > /configure' '--with-mysql' '--with-apache=../apache_1.3.20' > '--enable-track-vars' '--enable-tans-sid' '--enable-dba > > The function dba_open() does not work for me. I get the following error > message: > Fatal error: Call to undefined function: dba_open() > > It is not clear to me how I cause these functions to be available to me. I > have perused the online documentation and I have tried several different > switches on the command line compilation. All help is greatly appreciated. > > Thanks > >

« previous php.db (#10969) next »