1 $Id: INSTALL.pgsql,v 1.3 2000-06-23 02:54:50 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.php3 to the list of directory
14 files while you're at it! :-)
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
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.
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.
27 Next you need to create a database called "wiki".
31 Now run the script schemas/schema.psql
33 bash$ psql wiki -f schemas/schema.psql
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!