In order to fire up phpwiki, I had to change the
include_path as it had been set
to "include_path='c:\php\pear'" resulting in phpwiki
includes not being accessible.
I edited phpwiki/index.php to:
ini_set('include_path', 'c:/Inetpub/wwwroot/phpwiki');
This now finds the phpwiki includes, but results in an
error "Fatal error: Call to undefined function:
dba_open() ".
How can I change the include path sucj that it finds
both the phpwiki includes, and the PEAR includes?
I'm running Win2K and PHP 4.1.0.
Juddster
PS: From the comments in phpwiki/index.php, the above
is noted, but does not tell you how to resolve it!
// Part Zero: If PHP needs help in finding where you
installed the
// rest of the PhpWiki code, you can set the
include_path here.
// NOTE: phpwiki uses the PEAR library of php code for
SQL database
// access. Your PHP is probably already configured to
set include_path
// so that PHP can find the pear code. If not (or if
you change
// include_path here) make sure you include the path
to the PEAR
// code in include_path. (To find the PEAR code on
your system, search
// for a file named 'PEAR.php'. Some common
locations are:
//
// Unixish systems:
// /usr/share/php
// /usr/local/share/php
// Mac OS X:
// /System/Library/PHP
//
// The above examples are already included by PhpWiki.
// You shouldn't have to change this unless you see a
WikiFatalError:
// lib/FileFinder.php:82: Fatal[256]: DB.php: file
not found
//
//ini_set
('include_path', '.:/where/you/installed/phpwiki');
Logged In: NO
I don't claim to be an expert. I was having the same error
than I saw this comment in the install.txt right up top.
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:
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.