From 111e8c93177c263de8eb08a7e16c5b199bbe3cf3 Mon Sep 17 00:00:00 2001 From: carstenklapp Date: Thu, 17 Jan 2002 08:10:45 +0000 Subject: [PATCH] Explained first-time error msg for a system with no dbm installed. git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@1283 96ab9672-09ca-45d6-a79d-3d69d39ca109 --- INSTALL | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/INSTALL b/INSTALL index ce2f2a977..92d10ebf9 100644 --- a/INSTALL +++ b/INSTALL @@ -1,6 +1,21 @@ REQUIREMENTS -PhpWiki requires PHP version 4.0.? or greater. +PhpWiki requires a web server with PHP version 4.0.? or greater and a +database application. + +QUICK START INSTRUCTIONS + +By default PhpWiki is configured to use a flatfile database. If there +is no dbm on your system, you will see an error like this the first +time you try to use PhpWiki: + + "Fatal error: Call to undefined function: dba_open() in + phpwiki/lib/DbaDatabase.php on line 32" + +To correct this you will have to install a dbm package or preferably +an sql-compatible database such as MySQL or PostgreSQL and make the +necessary configuration changes to index.php. + Since version 1.3.0 PhpWiki uses the 'DB.php' from PEAR, a database absraction layer which is part of PHP. PEAR must be installed and @@ -21,13 +36,15 @@ 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." + +INSTRUCTIONS + 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 @@ -124,4 +141,4 @@ You can join this list at: FIN -$Id: INSTALL,v 1.14 2002-01-03 07:59:36 carstenklapp Exp $ \ No newline at end of file +$Id: INSTALL,v 1.15 2002-01-17 08:10:45 carstenklapp Exp $ \ No newline at end of file -- 2.45.0