From e07fac777ac910ba284b0872fe1c2e2b2af84d03 Mon Sep 17 00:00:00 2001 From: Yaman Qalieh Date: Wed, 11 May 2022 20:21:56 -0400 Subject: [PATCH] core: Enable zip extension --- Dockerfile | 2 ++ README.md | 1 + docs/01_General/03_Requirements.md | 1 + 3 files changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index 32e440c0..fea0bd34 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,9 @@ RUN apt-get update && \ apt-get install --yes --no-install-recommends \ nginx \ zlib1g-dev \ + libzip-dev \ libmemcached-dev && \ + docker-php-ext-install zip && \ pecl install memcached && \ docker-php-ext-enable memcached && \ mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini" diff --git a/README.md b/README.md index f74b6a46..0b9e8b04 100644 --- a/README.md +++ b/README.md @@ -69,6 +69,7 @@ RSS-Bridge requires PHP 7.1 or higher with following extensions enabled: - [`curl`](https://secure.php.net/manual/en/book.curl.php) - [`json`](https://secure.php.net/manual/en/book.json.php) - [`filter`](https://secure.php.net/manual/en/book.filter.php) + - [`zip`](https://secure.php.net/manual/en/book.zip.php) (for some bridges) - [`sqlite3`](https://www.php.net/manual/en/book.sqlite3.php) (only when using SQLiteCache) Find more information on our [Documentation](https://rss-bridge.github.io/rss-bridge/index.html) diff --git a/docs/01_General/03_Requirements.md b/docs/01_General/03_Requirements.md index 98b0e33f..7fa2c739 100644 --- a/docs/01_General/03_Requirements.md +++ b/docs/01_General/03_Requirements.md @@ -10,6 +10,7 @@ - [`curl`](https://secure.php.net/manual/en/book.curl.php) extension - [`json`](https://secure.php.net/manual/en/book.json.php) extension - [`filter`](https://secure.php.net/manual/en/book.filter.php) extension + - [`zip`](https://secure.php.net/manual/en/book.zip.php) (for some bridges) - [`sqlite3`](http://php.net/manual/en/book.sqlite3.php) extension (only when using SQLiteCache) Enable extensions by un-commenting the corresponding line in your PHP configuration (`php.ini`).