[pmwiki-users] Index.php include

Steven Benmosh wordz2u at gmail.com
Mon Apr 7 23:03:10 CDT 2008


I have a root directory, and in it a pmwiki directory that includes
pmwiki.php and index.php with the line <?php include('pmwiki.php'); in it.
It works fine, and/but wiki pages have the url of www.mysite.com/pmwiki/...
In other words, I have a fully functional pmwiki installation running fine
as it is.

So I thought I would get smart, and in the root directory's include an
index.php page with the following:
<?php include('/home/words2u/pmwiki/pmwiki.php');
or
<?php include('pmwiki/pmwiki.php');

Now I get the following error:

*Warning*: mkdir() [function.mkdir <http://www.words2u.net/function.mkdir>]:
Permission denied in */home/words2u/pmwiki/pmwiki.php* on line *435*

Can I rectify this situation by changing the include statement? Permission
and ownership are the same on both index.php and /pmwiki/index.php, so it is
not a permission issue. I prefer at this time not to copy /pmwiki/* into the
root directory, and also not to follow the new wiki creation instruction
(change permissions on wiki.d etc.)

Thanks.

Z.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20080407/e91167fa/attachment.html 


More information about the pmwiki-users mailing list