|
PmWiki /
Installation-TalkIn some cases, it may be needed to extract files with an additional p switch: tar -zxvpf pmwiki-latest.tgz This document needs some clarification. At one point it says to create an index.php file with the text: <?php include('pmwiki.php');
A few lines down, it says to create a file with the text: <?php include_once('pmwiki.php');
I'm unsure which is correct. Both will work exactly the same way in this case. In other cases, like recipes in the Cookbook, we use You could also use To make pmwiki.php the default page for the pmwiki/ resource, it is not necessary (well, sometimes, see below) to rename pmwiki.php or add a malformed index.php. Instead, add a file named .htaccess with the content: DirectoryIndex pmwiki.php Much cleaner. However this does assume that the web host allows you to create .htaccess files, is running Apache and will honour the DirectoryIndex command in .htaccess files.
--Fatman? October 01, 2010, at 07:46 AM
This is a talk page for improving PmWiki.Installation. |