ラベル Install Maniax2008 WIKI の投稿を表示しています。 すべての投稿を表示
ラベル Install Maniax2008 WIKI の投稿を表示しています。 すべての投稿を表示

2009年2月21日土曜日

YukiWiki

Install Maniax2008 WIKI

  YukiWiki  http://www.hyuki.com/yukiwiki/

 


アクセス : http://iis.museum-in-cloud.com/yukiwiki/wiki.cgi

 

インストール手順 

1.  サイトよりファイルをダウロードし展開 

2.  yukiwiki 用に追加した仮想ディレクトリのハンドラマッピングを追加し
     wiki.cgi を Strawberry Perl に割り当てる。 手順は Perl を参照。 

3.  wiki.cgiの編集

   一行目
     #!perl   

     以下、設置手順を参考に各値を設定 

 4.  設置手順を参考に権限を設定

以上

 

* 参考 Readme.txt 

-------------------------------------------------
■設置手順
-------------------------------------------------

(1) wiki.cgiの一行目をあなたのサーバに合わせて修正します。

    例1

    #!/usr/bin/perl

    例2:WindowsのActivePerlの場合

    #!perl

(2) wiki.cgiのはじめの方にある、変数$modifier_...の値を修正します(必須)

 

    my $modifier_mail        管理者メールアドレス

    my $modifier_url        管理者Webページ

    my $modifier_name       管理者名前

 

    my $modifier_dbtype        データベースの種類(以下のいずれか)

            'YukiWikiDB'        (推奨)入力されたテキストをそのままファイルとして保存

            'dbmopen'           サーバによって使えない場合あり

            'AnyDBM_File'       サーバによって使えない場合あり

 

    my $modifier_sendmail

        YukiWiki書き込み時に管理者にメールを送るための

        sendmailのコマンドライン

            '/usr/sbin/sendmail -t -n'      一例

            ''                              メールを送らない/送れない場合

 

    my $modifier_dir_data

        CGIが読み書きするデータを置くディレクトリ。

 

    my $modifier_url_data

        CSSや画像ファイルを置くディレクトリに対応したURL。

 

    my $modifier_rss_title

        タイトル(RSS用)

 

    my $modifier_rss_link

        設置するYukiWikiのURL(RSS用)

 

    my $modifier_rss_about

        RSSフィードのURL(RSS用)

 

    my $modifier_rss_description

        説明文(RSS用)

 

 

(3) 「ファイル一覧」にあるファイルをサーバに転送します。

    転送モードやパーミッションを適切に設定します。

 

(4) ブラウザでサーバ上のwiki.cgiのURLにアクセスします。

 

(5) FrontPageが表示されたら、AdminChangePasswordというリンクをたどって、

    管理者用のパスワードを設定します。

 

(6) 設定が済んだら、frontpage.txtファイルを書き換え、再度転送します。

 

 

-------------------------------------------------

■ファイル一覧

-------------------------------------------------

 

●説明文

 

以下のファイルは、

Webサーバに転送する必要はありません。

 

+-- readme.txt          解説文書(このファイル)

+-- plugin.txt          プラグイン解説

+-- history.txt         開発記録

 

 

●CGI群

 

以下のファイルはCGIが実行できるディレクトリにFTPします。

 

                         転送モード  パーミッション      説明

+-- wiki.cgi             TEXT        755 (rwxr-xr-x)     CGI本体

+-- jcode.pl             TEXT        644 (rw-r--r--)     文字コード変換ライブラリ

+-- Yuki                             755 (rwxr-xr-x)     ディレクトリ

|   +-- YukiWikiDB.pm    TEXT        644 (rw-r--r--)     ファイルベースのDB用

|   +-- RSS.pm           TEXT        644 (rw-r--r--)     RSS用

|   +-- DiffText.pm      TEXT        644 (rw-r--r--)     差分用

|   +-- PluginManager.pm TEXT        644 (rw-r--r--)     プラグイン用

+-- Algorithm                        755 (rwxr-xr-x)     ディレクトリ

    +-- Diff.pm          TEXT        644 (rw-r--r--)     差分用

 

●プラグイン

 

以下のファイルは、

wiki.cgi内の変数$modifier_dir_pluginで指定するディレクトリに転送します。

 

+-- plugin                          755 (rwxr-xr-x)     ディレクトリ

    +-- link.pl         TEXT        644 (rw-r--r--)     linkプラグイン

    +-- recent.pl       TEXT        644 (rw-r--r--)     recentプラグイン

    +-- ruby.pl         TEXT        644 (rw-r--r--)     rubyプラグイン

    +-- verb.pl         TEXT        644 (rw-r--r--)     verbプラグイン

 

●参照ファイル

 

以下のファイルは、

wiki.cgi内の変数$modifier_dir_dataで指定するディレクトリに転送します。

 

                    転送モード  パーミッション      説明

+-- rss.xml         TEXT        666 (rw-rw-rw-)     RSSファイル

+-- touched.txt     TEXT        666 (rw-rw-rw-)     編集時の更新ファイル

+-- frontpage.txt   TEXT        644 (rw-r--r--)     FrontPageのテキスト

+-- resource.txt    TEXT        644 (rw-r--r--)     リソースファイル

+-- conflict.txt    TEXT        644 (rw-r--r--)     更新の衝突時のテキスト

+-- format.txt      TEXT        644 (rw-r--r--)     整形ルールのテキスト

 

プロバイダによっては、

CGIを置くディレクトリにあるファイルは、CGIからアクセスできない場合があります。

 

その場合には、変数$modifier_dir_dataを使って、

「CGIが読み書きできるファイルを置くディレクトリ」を指定しておき、

そのディレクトリに上記のファイルを転送します。

 

そのような制限がない場合には、

変数$modifier_dir_dataではwiki.cgiを転送したディレクトリを指定し、

同じディレクトリに上記ファイルを転送します。

 

 

●スタイルシートと画像ファイル

 

以下のファイルは、

wiki.cgi内の変数$modifier_url_dataで指定するURLに対応したディレクトリに転送します。

 

+-- wiki.css        TEXT        644 (rw-r--r--)     スタイルシート

+-- icon40x40.gif   BINARY      644 (rw-r--r--)     アイコン(小)

+-- icon80x80.gif   BINARY      644 (rw-r--r--)     アイコン(大)

 

プロバイダによっては、

CGIを置くディレクトリにスタイルシートや画像ファイルを置いても

Webサーバから参照できない場合があります。

 

その場合には、

Webサーバから参照できる場所のURLを$modifier_url_dataを使って指定し、

そのディレクトリに上記ファイルを転送します。

 

そのような制限がない場合には、

変数$modifier_url_dataではwiki.cgiを転送したディレクトリを指定し、

同じディレクトリに上記ファイルを転送します。

 

●作成されるデータ

 

以下のファイル(deleteme.txt)は、転送する必要はありません。

(転送してもかまいません)

wiki, diff, infoのディレクトリは作成しておく必要があります。

 

+-- wiki                        777 (rwxrwxrwx)     ディレクトリ

|   +-- deleteme.txt            転送不要

|

+-- diff                        777 (rwxrwxrwx)     ディレクトリ

|   +-- deleteme.txt            転送不要

|

+-- info                        777 (rwxrwxrwx)     ディレクトリ

|   +-- deleteme.txt            転送不要

 

プロバイダによっては、CGIを置くディレクトリにあるファイルは、CGIからアクセスできない場合があります。

 

その場合には、変数$modifier_dir_dataを使って、

「CGIが読み書きできるファイルを置くディレクトリ」を指定しておき、

そのディレクトリに上記のwiki, diff, infoディレクトリを作ります。

そのような制限がない場合には、

変数$modifier_dir_dataではwiki.cgiを転送したディレクトリを指定し、

同じディレクトリに上記のwiki, diff, infoディレクトリを作ります。

-------------------------------------------------

■データのバックアップ方法

-------------------------------------------------

YukiWikiで構築されたWebページのコンテンツは、

wiki.cgiが作り出すデータベース内に保持されます。

 

作られたデータはすべて

変数$modifier_dir_dataで指定したディレクトリ以下に作られますので、

このディレクトリの下をすべてバックアップしておけばよいでしょう。

 

変数$modifier_dbtypeを'YukiWikiDB'にした場合には、wiki, info, diffという3つのディレクトリが作られ、

その下にページごとにファイルが作られます。バックアップもれがないように注意してください。

-------------------------------------------------

■基本的な使い方

-------------------------------------------------

●新しいページの作り方

1.「新規作成」というリンクをたどります。

2. 新しいページの名前を入力します。

3. ページの内容を入力します。

●テキスト整形のルール

format.txtを参照してください。

●ハイパーリンク

LinkToSomePageやFrontPageのように、英単語の最初の一文字を大文字にしたものが

二つ以上連続したものはYukiWikiのページ名となり、それが文章中に含まれるとリンクになります。

 

二重の大かっこ[[ ]]でくくった文字列も、

YukiWikiのページ名になります。

大かっこの中にはスペースを含めてはいけません。日本語も使えます。

 

http://www.hyuki.com/ のようなURLは自動的にリンクになります。

 

PukiWiki

Install Maniax2008 WIKI
 

 
インストール手順 
 
1.  UTF-8対応版  pukiwiki-1.4.7_notb_utf8.zip  をダウンロード 
2.   展開し、仮想ディレクトリを追加
3.   既定のドキュメントに index.php を追加
  
4. ファイル一覧を参考に権限を設定。
   
     * インターネットゲストユーザーでなく Everyone に変更権限が必要。
          あるいは 匿名ユーザーに administrator を設定
 

 5.  pukiwiki.ini.php を編集
   管理者用のパスワードの設定 
  
   $adminpass = '{x-php-md5}' . md5('your-pasword');
 
 
以上
 
 
* 参考
 
    認証による閲覧制限をかけた秘密ページは出来ますか?
 
 $auth_users = array(
 'Group2' => 'hegehege', // 編集許可グループ => パスワード
);
$auth_method_type = "pagename"; // ページ名で制限する

$edit_auth = 1; // 編集許可有効 (0で無効)

$edit_auth_pages = array(
 '/^.*$/' => 'Group2', // 編集制限ページ(正規表現) => 編集許可グループ名
);

 

 
 -  書き込み権限が不足している際のエラー例
 
  fopen() failed: wiki/46726F6E7450616765.txt
  Maybe permission is not writable or filename is too long 

 

MediaWiki

Install Maniax2008 WIKI

 

 
 
 
インストール手順 
 
1. ダウロードしたファイル mediawiki-1.13.3.tar.gz を展開し、仮想ディレクトリを追加し
    規定のドキュメントに  index.php を追加
 
   * MediaWikiインストールスクリプトは新しいデータベースを作成します 
 
2.  インストールプログラムを起動
 
 
     設定したパラメータの一部のメモ
 
Database table prefix:
  mw_
Storage Engine
  InnoDB 
Database character set 
 MySQL 4.1/5.0 UTF-8
 

 

MediaWiki 1.13.3 Installation

Checking environment...

Please include all of the lines below when reporting installation problems.

  • PHP 5.2.8 installed
  • Found database drivers for: MySQL
  • PHP server API is cgi-fcgi; using ugly URLs (index.php?title=Page_Title)
  • Have XML / Latin1-UTF-8 conversion support.
  • Warning: A value for session.save_path has not been set in PHP.ini. If the default value causes problems with saving session data, set it to a valid path which is read/write/execute for the user your web server is running under.
  • PHP's memory_limit is 128M.
  • Couldn't find Turck MMCache, eAccelerator, APC or XCache; cannot use these for object caching.
  • GNU diff3 not found.
  • Found GD graphics library built-in, image thumbnailing will be enabled if you enable uploads.
  • Installation directory: C:\apps\mediawiki-1.13.3
  • Script URI path: /mediawiki
  • Installing MediaWiki with php file extensions
  • Environment checked. You can install MediaWiki.

Something's not quite right yet; make sure everything below is filled out correctly.

 

 
  php.ini に session.save_path = "c:/php/s_save_path" を追加し、このフォルダを
 I_USER(インターネットゲストユーザー) に変更権限を付与し、IIS を再起動
 また、 Wikiname に ”Wikimedia” は指定できない。
 
 

Installation successful! Move the config/LocalSettings.php file to the parent directory, then follow this link to your wiki.

You should change file permissions for LocalSettings.php as required to prevent other users on the server reading passwords and altering configuration data. 


  config/LocalSettings.php ファイルをひとつ上のデイレクトリに移動し
 必要に応じて、このファイルのパーミッションを変更し、インストール完了。
 
 
* 以下の設定を LocalSettings.php に追加 
  sysopではないすべてのユーザーの編集を制限する
 $wgGroupPermissions['*']['edit'] = false;
 $wgGroupPermissions['user']['edit'] = false;
 $wgGroupPermissions['sysop']['edit'] = true;
 
以上 
 

TikiWiki

Install Maniax2008 WIKI

 

TikiWiki http://info.tikiwiki.org/tiki-index.php

 


アクセス : http://iis.museum-in-cloud.com/tikiwiki/tiki-index.php

Download http://info.tikiwiki.org/tiki-index.php
        tikiwiki-2.2.zip

 

http://doc.tikiwiki.org/Installation
Get Started With TikiWiki

 

1. 上記サイからダウンロードしたファイルを c:/apps/tikiwiki に展開し
  仮想ディレクトリを追加

2. MySQL で tikiwiki 用データベースを作成

インストールにより 213 テーブル 作成される。

3. セットアッププログラム開始

http://iis.museum-in-cloud.com/tikiwiki/tiki-install.php

Tiki installer v2.2 Help


alert Tiki cannot find a database connection

Please enter your database connection information:

Database type:
MySQL classic (mysql)
Select the type of database to use with Tiki.

Only databases supported by your PHP installation are listed here. If your database is not in the list, try to install the appropriate PHP extension.

Host:
localhost
Enter the hostname or IP for your database. Use localhost if the database is running on the same machine as Tiki.

For SQLite, enter the path and filename to your database file.

Database name:
tikiwiki
Enter the name of the database that Tiki will use. The database must already exist. You can create the database using mysqladmin, PHPMyAdmin, cPanel, or ask your hosting provider. Normally Tiki tables won't conflict with other product names.

For Oracle:

  • Enter your TNS Name here and leave Host empty.
    or
  • Override tnsnames.ora and put your SID here and enter your hostname:port in the Host field.
Database User:
Enter the database user with administrator permission for the Database.
Password:
Enter the password for the database user.

 

 

Tiki installer v2.2 Help



Welcome to the installation script!


Install

Create a new database (clean install) with profile:

  • Default installation profile
  • BasicEnabled profile for easy use
  • Slashdot profile

 

See the documentation for descriptions of the available profiles.

[ Install ]
 


Other Options

 

 

Tiki installer v2.2 Help


Installation complete.

Your database has been configured and Tikiwiki is ready to run! If this is your first install, your admin password is admin. You can now log in into Tikiwiki as user admin and start configuring the application.

Success Installation operations executed successfully: 1086 SQL queries.

 

Important Information

Please read the following notes before entering Tikiwiki.

 

Note Memory

TikiWiki requires at least 16MB of PHP memory for script execution. Use the memory_limit key in your php.ini file (for example: memory_limit = 16M) and restart your webserver.

Allocating too little memory will cause TikiWiki to display blank pages.

Tiki has detected your PHP memory_limit at: 128 MB.

 

Note Installation

If this is a first time installation, go to tiki-admin.php after login to start configuring your new Tiki installation.

 

Entering TikiWiki

 

Continue in installer



 インストール完了

 

PhpWiki

Install Maniax2008 WIKI



PhpWiki

http://phpwiki.sourceforge.net/


アクセス http://iis.museum-in-cloud.com/phpwiki2/

http://phpwiki.sourceforge.net/

Download PhpWiki: http://sourceforge.net/projects/phpwiki/

1. 上記サイからダウンロードしたファイルを c:/apps/phpwiki に展開し
  仮想ディレクトリを追加

2. config/config-dist.ini を元に config/config.ini を作成

DATABASE_TYPE = SQL
DATABASE_PREFIX = phpwiki_
DATABASE_DSN = "mysql://user:password@localhost/databasename"  # phpwiki

DATABASE_DIRECTORY = c:/apps/phpwiki/tmp

;DEFAULT_LANGUAGE = ja

ADMIN_USER = "admin"
ADMIN_PASSWD = "admin"

* ADMIN_USER を設定していないと画面が表示されない

3.  schemas/mysql-initialize.sql によりテーブルを作成する。

   Prefix は用意されているが、機能が完全でないためこれを利用するためには
  手動でSQLを修正する必要がある。

; Currently you MUST EDIT THE SQL file too (in the schemas/
; directory because we aren't doing on the fly sql generation
; during the installation.
; Note: This prefix is NOT prepended to the default DBAUTH_
;       tables user, pref and member!
DATABASE_PREFIX = phpwiki_

 

* mysql-initialize.sql の以下のコメンtの部分は phpmyadmin 実行時にエラーと
   なるため削除

-- update to 1.3.12: (see lib/upgrade.php)
-- ALTER TABLE pref ADD passwd     CHAR(48) BINARY DEFAULT '';
-- ALTER TABLE pref ADD groupname CHAR(48) BINARY DEFAULT 'users';

-- deprecated since 1.3.12. only useful for seperate databases.
-- better use the extra pref table where such users can be created easily
-- without password.
--CREATE TABLE user (
--      userid     CHAR(48) NOT NULL,
--      passwd     CHAR(48) DEFAULT '',
--    prefs      TEXT NULL DEFAULT '',
--    groupname CHAR(48) DEFAULT 'users'
--);

-- Use the member table, if you need it for n:m user-group relations,
-- and adjust your DBAUTH_AUTH_ SQL statements.

 4.  上記の設定後、 http://iis.museum-in-cloud.com/phpwiki/ にアクセスすることで
    インストール作業が開始される。

 

 

Loading up virgin wiki

AllPages
from MIME file C:/apps/phpwiki/pgsrc/AllPages - New page - saved to database as version 1
AllPagesCreatedByMe

 ......

Complete.

Return to HomePage

lib\stdlib.php:2033 Notice[8]: iconv() [function.iconv]: Detected an illegal character in input string (...repeated 4 times)

lib\WikiPlugin.php:513 Warning[2]: include_once(lib/plugin/New.php) [function.include-once]: failed to open stream: No such file or directory

   Complete.

以上

 

  * 参考

   _PearDbPassUser::_PearDbPassUser() cannot be called statically エラー
   http://forum.mamboserver.com/showthread.php?t=16655

 

phpwiki/INSTALL

REQUIREMENTS

PhpWiki requires a web server with at least PHP version 4.0.6.
PhpWiki was tested 4.0.4pl1 and 4.0.5 also, but several bugs in these
releases make them unstable for production sites.

Due to a security issue found in all versions of PHP (including 3.x
and 4.x), all users of PHP are strongly encouraged to either upgrade
to at least PHP 4.2.2, or install a patch available for PHP 3.0.18,
4.0.6 and 4.1.0/4.1.1. Visit for downloads and
information.
Larger phpwiki installations (big pages or > 500 pages)
with PHP <= 4.3.9 suffer from a PCRE memory problem and might not
work with the 8MB default PHP memory limit.

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."

PHP must also be compiled with support for the type of database you
want to use, i.e. --with-gdbm, --with-db2, --with-db3, --with-msql,
--with-pgsql. (With PHP4 MySQL support is always enabled. With PHP5
sqlite instead). Consult the PHP installation manual for specific
installation and configure options.


Since version 1.3.0 PhpWiki uses the 'DB.php' from PEAR, a database
abstraction layer which is part of PHP. PhpWiki version 1.3.3 and later
includes the necessary PEAR libraries and will use it if your system
PEAR library can not be found. For more information about PEAR
see .
PhpWiki version 1.3.7 and later includes the ADODB libraries and will
use it for DATABASE_TYPE=ADODB. ADODB has more features, can use yet
unsupported backends out of the box, and this is where SQL development
happens. ADODB improvements are then backported to the stable PEAR
backend (which often suffers from bad upstream PEAR libraries) and to
PDO for php5.


QUICK START INSTRUCTIONS

Copy 'config/config-dist.ini' to 'config/config.ini' and edit the
settings in 'config/config.ini' to your liking.

By default PhpWiki is configured to use a dba database. If there
is no dba 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 check the available dba handlers
(default: db3 for Windows, otherwise gdbm), install the dba extension
or preferably an sql-compatible database such as MySQL or PostgreSQL
and make the necessary configuration changes to 'lib/config/config.ini'.


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
live. That's it.

bash$ gzip -d phpwiki-X.XX.tar.gz
bash$ tar -xvf phpwiki-X.XX.tar

In the config subdirectory copy 'config-dist.ini' to 'config.ini' and
edit the settings in 'config.ini' to your liking.


1. CONFIGURATION

The first time you run this Wiki it will load a set of basic pages
from the 'pgsrc/' directory. These should be enough to get your Wiki
started.

PhpWiki will create some DBA files in '/tmp'. They contain the pages
of the live site, archived pages, and some additional information.

If you don't want the DBA 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', so change it in 'config/config.ini'.

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, create a subdirectory called 'pages' in the 'phpwiki'
directory which was made when you untarred PhpWiki. Move the DBA files
there. The files should already have proper rights and owners, as they
were created by the web server. If not, change the permissions
accordingly so your web server can read / write the DBA files. Note
that you must be root to move files created by the web server.

Next you must ensure that the web server can access the 'pages'
directory and can create new files in it. For example, if your web
server runs as user 'nobody', give the web server access like this:

bash$ chown nobody:youraccount pages
bash$ chmod 755 pages

This is necessary so that the server can also create / set the
database lock file (PHP has a built in locking mechanism for DBA file
access).  Or if you're really lazy and don't worry much about
security:

bash$ chmod 777 pages

Note: This is insecure. The proper way is to let the directory be
      owned by the web servers GUID and give it read and write access.


2. ALLOWING EMBEDDED HTML

PhpWiki ships with this feature disabled by default. According to
CERT, malicious users can embed HTML in your pages that allow pure
evil to happen:

   

Set the ENABLE_RAW_HTML to true in ' config/config.ini' to allow
embedded HTML, but you should NEVER do this if your Wiki is publicly
accessible!

3. ETC

Installing PHP is beyond the scope of this document :-) You should
visit 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.

4. PATCHES

Post patches to:
   

5. BUGS

Post bugs to:
   

6. SUPPORT

For support from the PhpWiki team and user community post to:
   

You can join this list at:
   

FIN

$Id: INSTALL,v 1.26 2006/09/06 05:40:02 rurban Exp $

 

Installing phpwiki with MySQL   /doc/INSTALL.mysql

-----------------------------

A MySQL configuration is relatively hard to setup and slow, compared
to dba or better SQL databases.

This assumes that you have a working MySQL server and client setup.
Installing MySQL is beyond the scope of this document.
For more information on MySQL go to http://www.mysql.org/

1. If you do not have a suitable database already, create one (using
   the root or other privileged account you set up when MySQL was
   installed.)

    mysqladmin -uuser -ppassword create phpwiki

2. If necessary create a user for that database which has the rights
   to select, insert, update, delete (again using the root
   administration account).

    mysql -uuser -ppassword phpwiki

   A MySQL grant statement for this user would look like this:

    GRANT select, insert, update, delete, lock tables
    ON phpwiki.*
    TO wikiuser@localhost
    IDENTIFIED BY 'password';

    Upgrade note: The mysql wikiuser needs to have the LOCK TABLES
    privilege granted for all the wiki tables (PAGE, VERSION,
    LINK, RECENT and NONEMPTY). This is a relatively new privilege type.

3. Create tables inside your database (still using the root account).

    mysql -uuser -ppassword phpwiki < schemas/mysql-initialize.sql

   Note: the user specified in this command needs to have the rights
         to drop and create tables. Use the same user as in step 1.

4. Edit the DATABASE settings in config/config.ini to reflect your settings.

    a) DATABASE_TYPE should be set to 'SQL' or 'ADODB'.
    b) DATABASE_DSN should be set to something like
           'mysql://guest@unix(/var/lib/mysql/mysql.sock)/phpwiki".
       (where 'phpwiki' is the mysql database name.)
        c) Note that if you set DATABASE_PREFIX to a
           non-empty string, you will have to edit
           schemas/mysql-initialize.sql before you perform step
           three (above).  (Sorry.)  (You might also edit
           schemas/mysql-destroy.sql at the same time, so you
           don't forget.)

That's it. Phpwiki should now work.
DATABASE_DIRECTORY and DATABASE_DBA_HANDLER are ignored for mysql.

If you run into problems then check that your MySQL-user has
the necessary access rights for the phpwiki tables.

Hint for Linux-Debian users: it may be necessary to load the MySQL
module first: insert the following line in config.php before
"mysql.php" gets included:
if (!extension_loaded("mysql"))  { dl("mysql.so"); }


Upgrading a MySQL phpwiki
-------------------------

If schemas/mysql-initialize.sql has changed for your old phpwiki
installation (or changed when compared to the old "mysql.sql" file),
you can either create missing tables manually and ALTER the changed
tables manually. 
Or you can run ?action=upgrade (also from "Upgrade"
at PhpWikiAdministration), but then your database user needs the
necessary ALTER and CREATE permissions.
You might want to set DBADMIN_USER temporarly in your config.ini.
?action=upgrade also brings all changed pgsrc files up-to-date.

/Reini Urban and Arno ahollosi@mail.com

$Id: INSTALL.mysql,v 1.7 2004/12/17 09:28:40 rurban Exp $