From c14f0042c968c0ac8951bdf852d2ebc00aeaf491 Mon Sep 17 00:00:00 2001 From: wainstead Date: Sat, 1 Dec 2001 21:55:57 +0000 Subject: [PATCH] Updated some of the info; pointed to the doc/ directory for other files. git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@687 96ab9672-09ca-45d6-a79d-3d69d39ca109 --- INSTALL | 47 +++++++++++++++++++++++++++++------------------ 1 file changed, 29 insertions(+), 18 deletions(-) diff --git a/INSTALL b/INSTALL index a62d7c177..edcf3489e 100644 --- a/INSTALL +++ b/INSTALL @@ -1,6 +1,23 @@ -0. INSTALLATION +REQUIREMENTS + +PhpWiki requires PHP version 4.0.? or greater. + +Since version 1.3.0 of PhpWiki we have been using the DB.php from PEAR +(a database absraction layer), so you need that installed/enabled +too. See http://pear.php.net/ for more information. + +You need the Perl regular expressions package compiled in; this is the +default for PHP, so you probably have it. (If you don't you'll see an +error like "function preg_replace() not defined.") + +Below are the instructions for the "out of the box" installation, +which uses DB files. If you are using a relational database like +MySQL, see the INSTALL file for your database in the doc/ directory +under the root of your PhpWiki installation. + -PhpWiki requires PHP version 4.0.? or greater. + +0. INSTALLATION Untar/gzip this file into the directory where you want it to live. That's it. @@ -23,13 +40,16 @@ If you don't want the DBM files to live in /tmp you must make sure the web server can read/write to your chosen location. It's probably a bad idea to leave it in /tmp. (Again, edit index.php). +(WARNING: on many systems, files in /tmp are subject to periodic +removal. We very strongly advise you to move the files to another +directory.) + For example, you create a subdirectory called "pages" in the wiki directory made when you untarred PhpWiki. Move the DBM files there. -(FIXME: this is incorrect:)The files are called: wikipagesdb, wikiarchivedb, wikilinksdb, -wikihottopicsdb, and wikihitcountdb. The files should already have proper -rights and owners, as they were created by the web server. Otherwise -change them accordingly so your web server can read/write the DBM -files. (Note you must be root to move files created by the web server). +The files should already have proper rights and owners, as they were +created by the web server. Otherwise change them accordingly so your +web server can read/write the DBM files. (Note you must be root to +move files created by the web server). Then you must ensure that the web server can access the "pages" directory and can create new files in it. These can be achieved e.g. by doing @@ -51,6 +71,7 @@ by the web servers GUID and give it read and write access. 2. ALLOWING EMBEDDED HTML +(This is not working in the 1.3 branch as of this writing.) PhpWiki ships with this featured disabled by default. According to CERT (http://www.cert.org/advisories/CA-2000-02.html) malicious users can embed HTML in your pages that allow pure evil to happen. You can uncomment the @@ -65,16 +86,6 @@ You should visit http://www.php.net/ if you don't have PHP. Note that you should have the web server configured to allow index.php as the root document of a directory. -FIXME: obsolete. (PHP 3 won't work) -This web application was written under PHP version 3.0.12 and -the latest build of PHP4. It's tested under the following systems: - -MySQL + Debian -mSQL + Red Hat 4.1 (FIXME: msql currently won't work) -DBA or Postgresql on Red Hat 6.2 - -It reportedly works on Windows with Apache+PHP, which amazes me. - 4. PATCHES Post patches to http://sourceforge.net/tracker/?func=add&group_id=6121&atid=306121 @@ -92,4 +103,4 @@ You can join this list at http://lists.sourceforge.net/lists/listinfo/phpwiki-ta FIN -$Id: INSTALL,v 1.11 2001-09-18 21:26:31 wainstead Exp $ \ No newline at end of file +$Id: INSTALL,v 1.12 2001-12-01 21:55:57 wainstead Exp $ \ No newline at end of file -- 2.45.0