Re: Bug #2242: db2 can't run
| From: | Bate | Date: | Tue, 07 Sep 1999 03:35:47 +0000 |
| Subject: | Re: Bug #2242: db2 can't run | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-10639@lists.php.net to get a copy of this message | ||
I'm sorry.
It 's too large!!
PHP version is 4.0b2
----- Original Message -----
From: Sascha Schumann <sascha@schumann.cx>
To: <bate@china.com>
Cc: <php-dev@lists.php.net>
Sent: Monday, September 06, 1999 11:47 PM
Subject: Re: [PHP-DEV] Bug #2242: db2 can't run
> Please post the output of ./configure
>
> On Mon, Sep 06, 1999 at 04:30:06AM -0000, bate@china.com wrote:
> > From: bate@china.com
> > Operating system: freebsd
> > PHP version: 3.0 Latest CVS (05/09/1999)
> > PHP Bug Type: DBM/DBA related
> > Bug description: db2 can't run
> >
> > when my program run to
> > $h = dba_open("test.db2", "c", "db2", 0666);
> > it reported Warning: no such handler: db2 in ......
> >
> > my configure line:
> > ./configure --with-mysql --with-db2 --with-apache=../apache_1.3.9 --enable-track-vars
> >
> > My program:
> > <?php
> > error_reporting(15);
> >
> > $h = dba_open("test.db2", "c", "db2", 0666);
> > if(!$h)
> > die("cannot open db\n");
> > for($i=0;$i<10;$i++)
> > dba_replace("bate_$i", "$i", $h);
> > dba_optimize($h);
> > dba_close($h);
> > $h = dba_open("test.db2", "r", "db2");
> > if(!$h)
> > die("cannot open db\n");
> > for($key=dba_firstkey($h);$key != false;$key=dba_nextkey($h))
> > echo "**".$key."**";
> > dba_close($h);
> > ?>
> >
> >
> > --
> > PHP Development Mailing List <http://www.php.net/>
> > To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-dev-help@lists.php.net
> > To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
> --
>
> Regards,
>
> Sascha Schumann
> Consultant
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>
Attachment: [application/octet-stream] configure.log
Attachment: [application/octet-stream] configure.log