June 27, 2022, 11:48:30 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Click Here for Toll-Free Service for your business starting at $2.00 per month and 4.5 cents per minute
   Home   Help Search Login Register  

Blog Menu

Blog Stats

1 Blog entries
0 Page views


January 2022
February 2022
March 2022
April 2022
May 2022
June 2022
July 2022
August 2022
September 2022
October 2022
November 2022
December 2022

Recent Blogs

Choosing a wikiDecember 10, 2006, 08:48:44 AM
The number of wiki software packages is quite large now. To find out which ones are most popular I consulted Wikipedia:

MediaWiki is the heavyweight application used by Wikipedia. Out of the remaining candidates pmWiki was my choice:

It's a PHP application which creates and manages its own database (no need to create a MySQL database). Once uploaded, the site consists of pre-installed documentation.

The first two changes I made were to set up a password for the administrator and another password to protect pages from editing. To do that, I copied the "sample-config.php" file from the  "docs" subdirectory to a new "config.php" file in the wiki's root directory. Then I changed...

# $DefaultPasswords['admin'] = crypt('secret');
$DefaultPasswords['admin'] = crypt('secret');

The "#" character causes PHP to ignore a line. Removing it activates the line. Next, I added another line immediately below it to require a password to edit any page:

$DefaultPasswords['admin'] = crypt('secret');
$DefaultPasswords['edit'] = crypt('secret');

In the pmWiki documentation 'secret' is the example password. You would need to change it to the password of your choice. Once that's done, you can take your time to read through the extensive documentation and try things out.

Initially, the wiki main page is a file within the wiki directory:

An "index.php" file needs to be created for the main page to reside at The index file only needs to contain one line:

<?php include('pmwiki.php');

  (0 Comments)  (0 views)
First Prev 1 Next Last
Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!