[pmwiki-users] Installation difficulties
Patrick R. Michaud
pmichaud at pobox.com
Thu Jan 5 13:38:51 CST 2006
On Thu, Jan 05, 2006 at 02:21:36PM -0500, Irv Mills wrote:
> I am having some trouble with my second set up of pmwiki. The first set-up
> was on my Windows XP machine at home and it went very smoothly.
>
> Currently I am trying to get pmwiki to work on a remote Linux Server, with
> Apache (not sure which version), PHP 4.0.6, and pmwiki 2.1 beta 17
PmWiki requires at least PHP 4.1. Sorry about that. :-|
> I had to create the wiki.d directory by hand and set the permissions to
> 777 on it.
> I also set up a index.php file with just "<?php
> include_once('pmwiki.php');" in it.
> I have set up config.php in /local and set:
> $ScriptURL='index.php';
> $PubDirURL='/pup/';
You shouldn't need to set $ScriptUrl or $PubDirUrl, but if you
do then they need to be full paths to the script (i.e.,
"http://..../index.php"), and "Url" isn't fully capitalized.
> Pmwiki now runs and displays the main page, but with an error message at
> the top:
>
> Warning: Invalid argument supplied for foreach() in
> /home/.sites/33/site22/web/pmwiki.php on line 31
Yes, this is because the version of PHP is older than 4.1.0.
Again, sorry about that (but 4.0.6 is a *really* old version of
PHP).
Pm
More information about the pmwiki-users
mailing list