3 Untar/gzip this file into the directory where you want it to live.
4 That's it. To improve efficiency, edit wiki_config.php3 and set the
5 $ServerAddress by hand; this will save a regexp call on every invocation.
7 bash$ gzip -d phpwiki-X.XX.tar.gz
8 bash$ tar xvf phpwiki-X.XX.tar
10 Let's say you own the web server http://www.foo.com/. You untar in the
11 server's root directory; then you should be able to just go to your new
14 http://www.foo.com/wiki/index.php3
16 If you configure your server to recognize index.php3 as the index of a
17 directory, you can just do:
19 http://www.foo.com/wiki/
24 PhpWiki will create two DBM files in /tmp. One contains the pages of the
25 live site and the other has the archived pages.
27 If you don't want the DBM files to live in /tmp you must make sure the web
28 server can read/write to it. It's probably a bad idea to leave it in
29 /tmp. (Again, edit wiki_config.php3).
31 For example, you create a subdirectory called "pages" in the wiki
32 directory made when you untarred PhpWiki. Move the DBM files there, and do
34 bash$ chmod 666 wikidb wikiarchive
36 so your web server can read/write the DBM files. Then you must do
40 on the "pages" directory to make sure the server can also create/set
41 the lock file (PHP has a built in locking mechanism for DBM file access).
43 The first time you run this Wiki it will load a set of basic pages from
44 the pgsrc/ directory. These should be enough to get your Wiki started!
47 2. ALLOWING EMBEDDED HTML
49 PhpWiki ships with this featured disabled by default. According to CERT
50 (http://www.cert.org/advisories/CA-2000-02.html) malicious users can embed
51 HTML in your pages that allow pure evil to happen. You can uncomment the
52 "elseif" in wiki_display.php3 to allow embedded HTML; but you should never
53 do this if your Wiki is publically accessible.
58 Installing PHP is beyond the scope of this document :-)
59 You should visit http://www.php.net/ if you don't have PHP.
60 Note that I have the web server configured to allow index.php3
61 as the root document of a directory.
63 This web application was written under PHP version 3.0.12. I used
64 a very generic installation, so hopefully you will have no problems.
65 The development platform is a Redhat Linux 4.2 box.
67 That should be all. Send patches, bugs etc. to swain@wcsb.org.