Desparate for DB4 install help

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
dedicate2
Forum Newbie
Posts: 1
Joined: Mon Oct 18, 2004 7:32 pm

Desparate for DB4 install help

Post 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?
User avatar
AnarKy
Forum Contributor
Posts: 119
Joined: Tue Nov 02, 2004 1:49 am
Location: South Africa

Use mySQL

Post by AnarKy »

Hi,
Use mySQL, its hassle free :wink:
Post Reply