PDA

View Full Version : dbmopen doesn't work!


ConfusedOfLife
11-19-2002, 11:23 AM
Hi, I know that it should be a real dummy question! But when I try to use dbmopen it gives me a fatal error that it doesn't recognize this function, I checked the php mans and I read that I have to rebuild my php by "--with dbm" or "--with dbmn" ( If I can remember correctly! ), but the problem is I don't know how to *rebuild*! and also I'm using phpdev ( http://www.firepages.com.au ), I'm gonna ask it there too, but I just thought maybe someone knows the answer ( maybe firepages himself! ), thanx in advance

firepages
11-21-2002, 08:58 AM
Hi, to use the dbm functions you have to enable the associated dll in the php.ini, now there is no dbm module for phpdev but the db or dba modules may do the job...

open up c:\windows(or winnt)\php.ini

and change
;extension=php_db.dll
;extension=php_dba.dll
to
extension=php_db.dll
extension=php_dba.dll

i.e. uncomment them, then restart apache and try again.