Menu

How to use file as DB ?

2002-02-06
2012-10-11
  • Jack Couvreur

    Jack Couvreur - 2002-02-06

    I've just discover PhpWiki (1.3), and I'm surprise to see all fonctionnality regarded to other Wiki as MoinMoin for example...

    But as I want to use file and not DataBase to store WikiPage, I am oblige to use the 1.1 version because I can't succeed to use it with the 1.3 version (there is a gap between documentation and source code)...
    Some one could help me ?

    Sorry for my poor English...
    A french guy

     
    • Geoffrey T. Dairiki

      Currently the 1.3 branch supports two database backends:
        1. Database in SQL database.
        2. Database in PHP dba_ based database.
      (There is also work being done on a CVS based backend --- I am unsure of the status of that work, but I don't think it's currently functional.)

      If your PHP has support for the dba_ family of functions, you can use the dba backend.  This stores all the wiki data in one file (in gdbm or some other dbm-style format.)  (You don't need any external database server to use this backend. The only requirement is that your PHP have dba support compiled in.)

      There is currently no support for the equivalent of PhpWiki 1.2's 'flat-file' backend.  (And, so far as I know, no one is currently working on implementing one.)

      If you really must have the 'flat-file' database support, for now, you're stuck with PhpWiki 1.2.  (Not 1.1.)

       
      • Jack Couvreur

        Jack Couvreur - 2002-02-07

        Thank you for your answer (fast and clear)...  Indeed, I am using the 1.2 version.  It's a pity that 'flat-files' are not used any more in the latest version.

        Thank's again

        Jack

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.