Re: QDBM on Windows

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



""Harold Fuchs"" <rincewind@xxxxxxxxxxxxxxxxxxxx> wrote in message 
news:0A.05.02528.725B9D94@xxxxxxxxxxxxxxx
> 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. 



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux