Page 1 of 1

Desparate for DB4 install help

Posted: Mon Oct 18, 2004 7:38 pm
by dedicate2
Hi. I'm not new to PHP but I am new to the Berkeley DB4 database and am having problems just getting the damn thing installed for PHP.

I do not understand how to implement this database.

I have built a dev environment on my local PC. This is Windows XP running Apache and PHP. I have downloaded and unzipped the Berkely DB. I have read through the available information but it is sooooo unclear.

How am I supposed to install the Berkeley DB in such a way that it's available to the environment I am using?

What configuration changes are needed to PHP.INI and HTTPD.CONF?

At the moment the error reads:

Warning: dba_open(hereshow.db,n): No such handler: db4 in c:\program files\apache group\apache\htdocs\phptest.php on line 5
Could not open database 1 hereshow.db

Admittedly I've not been able to create hereshow.db (ripped the code from an online example I found) but I suspect that the underlying problem is that the flipping DB isn't installed.

I am sooooo frustrated.

Anyone have any experience that might help me? Please?

Use mySQL

Posted: Sat Nov 06, 2004 1:59 am
by AnarKy
Hi,
Use mySQL, its hassle free :wink: