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

Han Baas hanbb at xs4all.nl
Mon Jan 2 12:22:26 CST 2006


On 2-jan-2006, at 19:01, pmwiki-users-request at pmichaud.com wrote:

> On 1/2/06, Han Baas <hanbb at xs4all.nl> wrote:
>>
>> Hagan 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.
>>
>
> Here's the rub:  By default the server typically cannot write files.
> The administrator needs to change permissions (to 2777) on the
> directory immediately before the PmWiki creates the directory and (to
> 755) after the wiki.d/ directory is created.

I understand the point. So this is strictly self-service.

> Does this get the job done?:
>
> 4) In the main directory, create an index.php file that contains the
>    following single line (with no closing "?>" on purpose):
>
> <?php include('pmwiki.php');

Certainly.

> Step #4 is completely optional, but I personally would have
> appreciated knowing it from the start.  Maybe that's just me though.
> Should it even be in there at all?

I like it, but wether is is realy necessary?


> How about
>
> 5) Configuration settings will go in a local/config.php file.  There's
>    a well-commented sample configuration file in the docs/  
> subdirectory.
>    Copy the sample configuration file from docs/sample-config.php  
> to the
>    local/ subdirectory, then rename the copy to config.php.  Edit
>    your new local/config.php to suit your preferences.
>
> or maybe
>
> 5) Sitewide configuration settings will go in a "local configuration
>    file" called local/config.php.  There's a well-commented sample
>    available in the docs/ subdirectory.  Copy the sample configuration
>    file from docs/sample-config.php to the local/ subdirectory, then
>    rename the copy to config.php.  Edit your new local/config.php file
>    to suit your preferences.

IMO the second is better, making the point of the "sitewide config  
settings"

Greetings,
Han




More information about the pmwiki-users mailing list