831 |
florian |
1 |
<?php
|
|
|
2 |
/*
|
|
|
3 |
|
|
|
4 |
This file holds the configuration for letting Phorum connect to your
|
|
|
5 |
database server. A detailed description of the used configuration fields
|
|
|
6 |
can be found below.
|
|
|
7 |
|
|
|
8 |
If you are running your site with a hosting provider and you do not
|
|
|
9 |
know what to fill in here, please contact your hosting provider for
|
|
|
10 |
advice.
|
|
|
11 |
|
|
|
12 |
*/
|
|
|
13 |
|
|
|
14 |
if(!defined('PHORUM')) return;
|
|
|
15 |
|
|
|
16 |
$PHORUM['DBCONFIG']=array(
|
|
|
17 |
|
|
|
18 |
// Database connection.
|
|
|
19 |
'type' => 'mysql',
|
|
|
20 |
'name' => 'papyrus',
|
|
|
21 |
'server' => 'localhost',
|
|
|
22 |
'user' => 'root',
|
|
|
23 |
'password' => 'fs1980',
|
|
|
24 |
'table_prefix' => 'phorum',
|
|
|
25 |
|
|
|
26 |
// 'down_page' => 'http://www.example.com/phorum/down.html',
|
|
|
27 |
|
|
|
28 |
// 1=enabled, 0=disabled
|
|
|
29 |
// (always disable this option for MySQL versions prior to 4.0.18!)
|
|
|
30 |
'mysql_use_ft' => '1'
|
|
|
31 |
);
|
|
|
32 |
|
|
|
33 |
/*
|
|
|
34 |
|
|
|
35 |
DETAILED CONFIGURATION FIELD DESCRIPTION
|
|
|
36 |
----------------------------------------
|
|
|
37 |
|
|
|
38 |
* type:
|
|
|
39 |
|
|
|
40 |
The type of database. Typically 'mysql' (the only database type which
|
|
|
41 |
is officially supported by the Phorum distribution). Do not change this
|
|
|
42 |
value, unless you know what you are doing.
|
|
|
43 |
|
|
|
44 |
* name:
|
|
|
45 |
|
|
|
46 |
The name of the database.
|
|
|
47 |
|
|
|
48 |
* server:
|
|
|
49 |
|
|
|
50 |
The hostname or IP-address of the database server. You only need to
|
|
|
51 |
change this if the database server is running on a different system.
|
|
|
52 |
|
|
|
53 |
* user:
|
|
|
54 |
|
|
|
55 |
The username which is used for accessing the database server. The
|
|
|
56 |
user must have full access rights to the database, for creating and
|
|
|
57 |
maintaining the needed tables.
|
|
|
58 |
|
|
|
59 |
* password:
|
|
|
60 |
|
|
|
61 |
The password for the database user.
|
|
|
62 |
|
|
|
63 |
* table_prefix:
|
|
|
64 |
|
|
|
65 |
This table prefix will be at the front of all table names that are
|
|
|
66 |
created and used by Phorum. You only need to change this in case you
|
|
|
67 |
are using the same database for multiple Phorum installations.
|
|
|
68 |
By changing the table prefix you can prevent the tables from the
|
|
|
69 |
installations from colliding. E.g. set the table prefix for one
|
|
|
70 |
installation to "phorum1" and the other to "phorum2".
|
|
|
71 |
Important: never change the table prefix for a running system.
|
|
|
72 |
|
|
|
73 |
* down_page:
|
|
|
74 |
|
|
|
75 |
An optional URL for redirecting the user when database is down.
|
|
|
76 |
If you want to use this field, remove the "//" in front of it.
|
|
|
77 |
|
|
|
78 |
* mysql_use_ft (MySQL-only option):
|
|
|
79 |
|
|
|
80 |
This field determines whether Phorum will use MySQL's full text
|
|
|
81 |
algorithm for searching postings. If enabled, your database will
|
|
|
82 |
grow larger (because of an extra table for storing search data),
|
|
|
83 |
but searching for postings will be much faster in return.
|
|
|
84 |
You will have to disable this feature in case you are running a
|
|
|
85 |
database version prior to MySQL 4.0.18.
|
|
|
86 |
|
|
|
87 |
*/
|
|
|
88 |
|
|
|
89 |
?>
|