[pmwiki-users] Re: pmwiki-users Digest, Vol 7, Issue 3

Waylan Limberg waylan at gmail.com
Wed Jan 4 11:59:29 CST 2006


On 1/2/06, Han Baas <hanbb at xs4all.nl> wrote:
>
> On 2-jan-2006, at 9:50, pmwiki-users-request at pmichaud.com wrote:
>
> > 3) You may see an error message saying that PmWiki needs to have
> >    a writable wiki.d/ directory.  If so, follow the directions to
> >    establish one.

When you upgrade to a new version of PmWiki, you don't want anything
in that dir to be overwritten. So why isn't it included as an empty
dir? My understanding is that on some *nix systems, copying a dir over
itself, will actually overwrite the entire dir (delete the original
and all its content, then wrighting the new one) replacing your stored
pages with a blank dir. To avoid this, creation of the wiki.d/ dir is
left up to the site admin. Sure, it is possable to write php code for
this, but different systems may be configured differently causing
additional problems. Therefore, its just easier to tell everyone to
manually create the dir. At least thats my understanding of it all.
>
> Why is PmWiki distributed without wiki.d/ directory?
> Or alternatively: can PmWiki create the directory if it doesn't exist?
>
> >
> > 4) Create an index.php file that contains the following single line
> >    (with no closing "?>" on purpose):
> >
> > <?php include('pmwiki.php');
>
> Where should this go?

In the same dir as pmwiki.php

>
> > 5) Copy the sample configuration file from docs/sample-config.php to
> >    local/config.php and edit it to suit your preferences.
>
> Text suggestion: Copy the sample configuration file from docs/sample-
> config.php to
> the local/ subdirectory.
> Rename the file to: config.php.
> Then edit it to suit your preferences
>
> >  * If no writable wiki.d/ directory exists, PmWiki automatically
> > generates instructions for creating one.  Is it OK to rely on those as
> > part of the quick-install procedure?
>
> I think so.
>
>
> Greetings,
> Han
>
>
>
>
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://host.pmichaud.com/mailman/listinfo/pmwiki-users
>


--
----
Waylan Limberg
waylan at gmail.com




More information about the pmwiki-users mailing list