|
@@ -22,12 +22,20 @@ for more information.
|
|
|
### Minimal Requirements
|
|
### Minimal Requirements
|
|
|
|
|
|
|
|
- PHP version 7.4 or above
|
|
- PHP version 7.4 or above
|
|
|
-- GD extension (when using identicon or vizhash icons, jdenticon works without it)
|
|
|
|
|
-- zlib extension
|
|
|
|
|
-- some disk space or a database supported by [PDO](https://php.net/manual/book.pdo.php)
|
|
|
|
|
-- ability to create files and folders in the installation directory and the PATH
|
|
|
|
|
- defined in index.php
|
|
|
|
|
-- A web browser with JavaScript and (optional) WebAssembly support
|
|
|
|
|
|
|
+- PHP with zlib extension
|
|
|
|
|
+- some disk space and the capability to create files and folders in the
|
|
|
|
|
+ installation directory and the `PATH` defined in index.php
|
|
|
|
|
+- A web browser with JavaScript support enabled
|
|
|
|
|
+
|
|
|
|
|
+### Optional Requirements
|
|
|
|
|
+
|
|
|
|
|
+- PHP with GD extension (when using identicon or vizhash icons, jdenticon works
|
|
|
|
|
+ without it)
|
|
|
|
|
+- a database supported by [PHP PDO](https://php.net/manual/book.pdo.php) and the
|
|
|
|
|
+ PHP PDO extension (when using database storage)
|
|
|
|
|
+- a Ceph cluster with Rados gateway or AWS S3 storage (when using S3 storage)
|
|
|
|
|
+- Google Cloud Storage (when using GCP storage)
|
|
|
|
|
+- A web browser with WebAssembly support
|
|
|
|
|
|
|
|
## Hardening and Security
|
|
## Hardening and Security
|
|
|
|
|
|
|
@@ -195,7 +203,7 @@ CREATE INDEX parent ON prefix_comment(pasteid);
|
|
|
CREATE TABLE prefix_config (
|
|
CREATE TABLE prefix_config (
|
|
|
id CHAR(16) NOT NULL, value TEXT, PRIMARY KEY (id)
|
|
id CHAR(16) NOT NULL, value TEXT, PRIMARY KEY (id)
|
|
|
);
|
|
);
|
|
|
-INSERT INTO prefix_config VALUES('VERSION', '1.7.8');
|
|
|
|
|
|
|
+INSERT INTO prefix_config VALUES('VERSION', '2.0.0');
|
|
|
```
|
|
```
|
|
|
|
|
|
|
|
In **PostgreSQL**, the `data`, `attachment`, `nickname` and `vizhash` columns
|
|
In **PostgreSQL**, the `data`, `attachment`, `nickname` and `vizhash` columns
|