]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - INSTALL.pgsql
Knocked off about 4-5 items.
[SourceForge/phpwiki.git] / INSTALL.pgsql
1 $Id: INSTALL.pgsql,v 1.3 2000-06-23 02:54:50 wainstead Exp $
2
3 These instructions are not quite complete yet. If you find something
4 I missed, please let me know (swain@panix.com).
5
6
7 Installation instructions for PhpWiki with a Postgresql database
8
9 Installation of Postgresql will not be discussed here... you can get a
10 copy from http://www.postgresql.org/. However if you are running 
11 Red Hat Linux, all you need to do is install the PHP RPM and the 
12 Postgresql RPM and edit your Apache httpd.conf file, and uncomment 
13 the lines for all PHP files (and add index.php3 to the list of directory
14 files while you're at it! :-)
15
16 It's probably a good idea to install PhpWiki as-is first, running it
17 off the DBM file. This way you can test most of the functionality of
18 the Wiki.
19
20 Once that's done and you have the basic stuff done that's listed in 
21 the INSTALL, the time comes to move to Postgresql.
22
23 Edit wiki_config.php3 and comment out the lines for DBM file usage; then
24 uncomment the lines for Postgresql. The lines are clearly commented and 
25 you should have no problem with this.
26
27 Next you need to create a database called "wiki".
28
29 bash$ createdb wiki
30
31 Now run the script schemas/schema.psql
32
33 bash$ psql wiki -f schemas/schema.psql
34
35 For some reason I had to stop/start the database so that these changes took 
36 effect.. after that just open up the Wiki in your browser and you should
37 have a brand-new PhpWiki running!
38
39 Steve Wainstead
40 swain@panix.com
41