From: Steve W. <wai...@us...> - 2001-12-01 21:56:01
|
Update of /cvsroot/phpwiki/phpwiki In directory usw-pr-cvs1:/tmp/cvs-serv32356 Modified Files: INSTALL Log Message: Updated some of the info; pointed to the doc/ directory for other files. Index: INSTALL =================================================================== RCS file: /cvsroot/phpwiki/phpwiki/INSTALL,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -r1.11 -r1.12 *** INSTALL 2001/09/18 21:26:31 1.11 --- INSTALL 2001/12/01 21:55:57 1.12 *************** *** 1,6 **** ! 0. INSTALLATION - PhpWiki requires PHP version 4.0.? or greater. Untar/gzip this file into the directory where you want it to live. That's it. --- 1,23 ---- ! 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. + + 0. INSTALLATION + Untar/gzip this file into the directory where you want it to live. That's it. *************** *** 24,34 **** to leave it in /tmp. (Again, edit index.php). 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). Then you must ensure that the web server can access the "pages" directory --- 41,54 ---- 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. ! 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 *************** *** 52,55 **** --- 72,76 ---- 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 *************** *** 65,78 **** 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 --- 86,89 ---- |