Updated Installation (markdown)
parent
f47aa0af6d
commit
4f6f3bbbd3
@ -4,21 +4,25 @@
|
|||||||
|
|
||||||
### Requirements
|
### Requirements
|
||||||
|
|
||||||
* PHP version 5.2.6 or above
|
- PHP version 5.2.6 or above
|
||||||
* GD extension
|
- GD extension
|
||||||
* mcrypt extension (recommended)
|
- mcrypt extension (recommended)
|
||||||
* some disk space or (optional) a database supported by PDO
|
- some disk space or (optional) a database supported by PDO
|
||||||
* A web browser with javascript support
|
- A web browser with javascript support
|
||||||
|
|
||||||
### Configuration
|
### Configuration
|
||||||
|
|
||||||
In the file `cfg/conf.ini` you can configure ZeroBin. The config file is divided into multiple sections, which are enclosed in square brackets. In the `[main]` section you can enable or disable the discussion feature, set the limit of stored pastes and comments in bytes. The `[traffic]` section lets you set a time limit in seconds. Users may not post more often then this limit to your ZeroBin installation.
|
In the file `cfg/conf.ini` you can configure ZeroBin. The config file is divided into multiple sections, which are enclosed in square brackets.
|
||||||
|
|
||||||
|
In the `[main]` section you can enable or disable the discussion feature, set the limit of stored pastes and comments in bytes. The `[traffic]` section lets you set a time limit in seconds. Users may not post more often then this limit to your ZeroBin installation.
|
||||||
|
|
||||||
|
More details can be found in the [configuration documentation](https://github.com/elrido/ZeroBin/wiki/Configuration).
|
||||||
|
|
||||||
## Advanced installation
|
## Advanced installation
|
||||||
|
|
||||||
### Changing the path
|
### Changing the path
|
||||||
|
|
||||||
In the index.php you can define a different `PATH`. This is useful to secure your installation. You can move the configuration, data files, templates and PHP libraries (directories cfg, data, lib, tpl and tst) outside of your document root. This new location must still be accessible to your webserver / PHP process ([open_basedir setting](http://php.net/manual/en/ini.core.php#ini.open-basedir)).
|
In the index.php you can define a different `PATH`. This is useful to secure your installation. You can move the configuration, data files, templates and PHP libraries (directories cfg, data, lib, tpl, tmp and tst) outside of your document root. This new location must still be accessible to your webserver / PHP process ([open_basedir setting](http://php.net/manual/en/ini.core.php#ini.open-basedir)).
|
||||||
|
|
||||||
> #### PATH Example
|
> #### PATH Example
|
||||||
> Your zerobin installation lives in a subfolder called "paste" inside of your document root. The URL looks like this:
|
> Your zerobin installation lives in a subfolder called "paste" inside of your document root. The URL looks like this:
|
||||||
|
Loading…
Reference in New Issue
Block a user