1 $Id: INSTALL.pgsql,v 1.5 2000-10-08 18:12:13 wainstead Exp $
3 These instructions are not quite complete yet. If you find something
4 I missed, please let me know (swain@panix.com).
7 Installation instructions for PhpWiki with a Postgresql database
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.php to the list of directory
14 files while you're at it! :-)
16 Also note that Postgresql by default has a hard limit of 8K per
17 row. This is a Really Bad Thing. You can change that when you compile
18 Postgresql to allow 32K per row, but supposedly performance
19 suffers. The 7.x release of Postgresql is supposed to fix this.
21 It's probably a good idea to install PhpWiki as-is first, running it
22 off the DBM file. This way you can test most of the functionality of
25 Once that's done and you have the basic stuff done that's listed in
26 the INSTALL, the time comes to move to Postgresql.
28 Edit lib/config.php and comment out the lines for DBM file usage; then
29 uncomment the lines for Postgresql. The lines are clearly commented and
30 you should have no problem with this.
32 Next you need to create a database called "wiki".
36 Now run the script schemas/schema.psql
38 bash$ psql wiki -f schemas/schema.psql
40 For some reason I had to stop/start the database so that these changes took
41 effect.. after that just open up the Wiki in your browser and you should
42 have a brand-new PhpWiki running!