core: Enable zip extension

This commit is contained in:
Yaman Qalieh 2022-05-11 20:21:56 -04:00
parent fd449be4eb
commit e07fac777a
3 changed files with 4 additions and 0 deletions

View File

@ -8,7 +8,9 @@ RUN apt-get update && \
apt-get install --yes --no-install-recommends \ apt-get install --yes --no-install-recommends \
nginx \ nginx \
zlib1g-dev \ zlib1g-dev \
libzip-dev \
libmemcached-dev && \ libmemcached-dev && \
docker-php-ext-install zip && \
pecl install memcached && \ pecl install memcached && \
docker-php-ext-enable memcached && \ docker-php-ext-enable memcached && \
mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini" mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"

View File

@ -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) - [`curl`](https://secure.php.net/manual/en/book.curl.php)
- [`json`](https://secure.php.net/manual/en/book.json.php) - [`json`](https://secure.php.net/manual/en/book.json.php)
- [`filter`](https://secure.php.net/manual/en/book.filter.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) - [`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) Find more information on our [Documentation](https://rss-bridge.github.io/rss-bridge/index.html)

View File

@ -10,6 +10,7 @@
- [`curl`](https://secure.php.net/manual/en/book.curl.php) extension - [`curl`](https://secure.php.net/manual/en/book.curl.php) extension
- [`json`](https://secure.php.net/manual/en/book.json.php) extension - [`json`](https://secure.php.net/manual/en/book.json.php) extension
- [`filter`](https://secure.php.net/manual/en/book.filter.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) - [`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`). Enable extensions by un-commenting the corresponding line in your PHP configuration (`php.ini`).