Re: dba_open
| From: | Patrick Callihan | Date: | Wed, 01 Aug 2001 20:32:11 +0000 |
| Subject: | Re: dba_open | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-10970@lists.php.net to get a copy of this message | ||
With the help of another friend, I now have it working. The problem was I
needed to make the directory and file group apache and then give them both
group write permission. It works! I thought I would post this in case
someone else ran across the same problem.
Patrick
"Patrick Callihan" <calliha2@msu.edu> wrote in message
news:20010801192615.55666.qmail@pb1.pair.com...
> 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
> >
> >
>
>