Re: QDBM on Windows

From: Date: Mon, 06 Apr 2009 09:26:55 +0000
Subject: Re: QDBM on Windows
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-29244@lists.php.net to get a copy of this message
""Harold Fuchs"" <rincewind@wolfeden.demon.co.uk> wrote in message news:0A.05.02528.725B9D94@pb1.pair.com... > I'm running Win XP Pro/SP3, Apache 2.2.11 and PHP 5.2.9.1. > > I have a database built by a Perl program using its "dbm" database system > that binds a file to an associative array. > > I have discovered via Google etc. that there's a PHP extension that can > read/write this type of database. It is called "qdbm". > > I have followed the instructions in the PHP manual at > http://uk3.php.net/manual/en/dba.requirements.php and related > pages but > nothing works. When I try to run Example 1 at > http://uk3.php.net/manual/en/function.dba-handlers.php which > calls > dba_handlers I get an "undefined function" error. > > I have found the Windows binaries qdbm-1.8.75-win32.zip on SourceForge by > following the instructions at > http://uk.php.net/manual/en/dba.installation.php which say > "Note: This was > added in PHP 5.0.0. The qdbm library can be loaded from » > http://qdbm.sourceforge.net. " but this .zip has many > files which I don't > know what to do with. > > Can someone please help? Step by step please. I've used Perl a lot but am > completely new to PHP. > One step further. I re-installed PHP choosing the DBA extension. Now when I run the "dba_handlers.php " script mentioned above, I get Available DBA handlers: - cdb: 0.75, Revision: 1.10.2.1.2.5 - cdb_make: 0.75, Revision: 1.9.2.1.2.3 - db3: Sleepycat Software: Berkeley DB 3.3.11: (July 12, 2001) - inifile: 1.0, Revision: 1.14.2.1.2.6 - flatfile: 1.0, Revision: 1.14.2.1.2.3 So, how do I get qdbm? Please. -- Harold Fuchs London, England Please do *not* reply to my personal e-mail address.

« previous php.windows (#29244) next »