Updated Installation (markdown)
parent
671416fdb8
commit
a80c4439b3
@ -73,11 +73,11 @@ In the configuration file the `[model]` and `[model_options]` sections let you
|
||||
configure your favourite way of storing the pastes and discussions on your
|
||||
server.
|
||||
|
||||
`privatebin_data` is the default model, which stores everything in files in the
|
||||
`Filesystem` is the default model, which stores everything in files in the
|
||||
data folder. This is the recommended setup for most sites.
|
||||
|
||||
Under high load, in distributed setups or if you are not allowed to store files
|
||||
locally, you might want to switch to the `privatebin_db` model. This lets you
|
||||
locally, you might want to switch to the `Database` model. This lets you
|
||||
store your data in a database. Basically all databases that are supported by
|
||||
[PDO](http://php.net/manual/en/book.pdo.php) may be used. Automatic table
|
||||
creation is provided for `pdo_ibm`, `pdo_informix`, `pdo_mssql`, `pdo_mysql`,
|
||||
@ -88,11 +88,13 @@ to use a prefix for
|
||||
The table prefix option is called `tbl`.
|
||||
|
||||
> #### Note
|
||||
> The "privatebin_db" model has only been tested with SQLite and MySQL, although
|
||||
it would not be recommended to use SQLite in a production environment. If you
|
||||
gain any experience running PrivateBin on other RDBMS, please let us know.
|
||||
> The `Database` model has only been tested with SQLite, MySQL and PostgreSQL,
|
||||
> although it would not be recommended to use SQLite in a production environment.
|
||||
> If you gain any experience running PrivateBin on other RDBMS, please let us
|
||||
> know.
|
||||
|
||||
For reference or if you want to create the table schema for yourself:
|
||||
For reference or if you want to create the table schema for yourself (replace
|
||||
`prefix_` with your own table prefix):
|
||||
|
||||
```sql
|
||||
CREATE TABLE prefix_paste (
|
||||
|
Loading…
Reference in New Issue
Block a user