In index.php, the line "directory" is what you want. Make sure
permsissions are set correctly so the web user can write to it.
index.php:
// Used by 'dba'
'directory' => "/home/httpd/html/wiki/clients/book/pages",
'dba_handler' => 'gdbm', // Either of 'gdbm' or 'db2' work great
for me.
//'dba_handler' => 'db2',
//'dba_handler' => 'db3', // doesn't work at all for me....
'timeout' => 20,
//'timeout' => 5
cd /var/lo On Thu, 2003-05-01 at 07:49, David Fleming wrote:
> Hi,
>
> I have installed v1.2.2 and set it up for flatfile operation. Following
> the install recommendations in the readme's I got the wiki running
> without a problem. However I ran into a conundrum:
>
> The INSTALL readme says "PhpWiki will create some DBM files in /tmp.
> They contain the pages of the live site, archived pages, and some
> additional information." And further, "The files are called:
> wikipagesdb, wikiarchivedb, wikilinksdb,wikihottopicsdb, and
> wikihitcountdb." I have now edited a couple of the default pages and
> created a couple of new pages (it all seems to work just fine), but for
> the life of me I can't locate the directory /tmp or the dbm files
> mentioned when I log in to my site via ssh or ftp. They don't seem to
> exist anywhere on my site. Is this possible, or am I nuts? What am I
> missing?
>
> I was going to follow the recommendation of moving these files from /tmp
> to a new directory (/pages, as in the readme example). Hard to do if I
> can't find them! Thanks for any advice, and apologies for the newbie-ish
> question.
>
> David Fleming
> az...@co...
>
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Phpwiki-talk mailing list
> Php...@li...
> https://lists.sourceforge.net/lists/listinfo/phpwiki-talk
--
Zot O'Connor
http://www.ZotConsulting.com
http://www.WhiteKnightHackers.com
|