Re: Error with DB

From: Date: Mon, 16 Sep 2002 06:09:07 +0000
Subject: Re: Error with DB
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-15840@lists.php.net to get a copy of this message
Ishaq Ahmed wrote: > I am using PHP v4.2.2 ( the Latest ) on a windows 2000 system with > IIS 5.0. Everything seems to be working fine i.e. the core PHP and MySQL but > Whenever i try to open ( or create ) a DB file using dba_open, the server > prompts an error that the handler "db2" is invalid. I have also used every > other possible handler i.e. 'dbm,'db','ndm' and etc but every time it > cause > the same error i.e. "The handler is invalid". Also note that i've already > enabled the appropripate extensions in the php.ini file. What's the problem? if your windows isn't in c:\winnt, then you need to right-click on my computer goto the advanced tab, and add an environmental variable called SYSTEMROOT with the path to the windows directory. x:\winnt or x:\windows phpinfo(); will probably show that it isn't looking in the correct place for your php.ini .. also, double check your php.ini that you have the appropriate handlers enabled. -- ----------------------------------------------------------------------- Michael J. Ryan | ICQ: 4935386 tracker1(at)theroughnecks(dot)net | AIM/AOL: azTracker1 Roughneck BBS: | Yahoo: azTracker1 http://www.theroughnecks.net | MSN: (email address) telnet://theroughnecks.net | Trillian: www.trillian.cc --- Synchronet 3.10j-Win32 NewsLink 1.30 * Roughneck BBS - www.theroughnecks.net - telnet://theroughnecks.net

« previous php.windows (#15840) next »