This repository was archived by the owner on Jan 3, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 79
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# PECL extensions | ||
RUN pecl install APCu-beta && echo extension=apcu.so > /usr/local/etc/php/conf.d/apcu.ini \ | ||
&& pecl install redis && echo extension=redis.so > /usr/local/etc/php/conf.d/redis.ini \ | ||
&& pecl install memcached && echo extension=memcached.so > /usr/local/etc/php/conf.d/memcached.ini |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should swap the echoes for docker-php-ext-enable apcu redis memcached
(docker-php-ext-enable).
Just the comment above and one question: should this be added to |
Recommended for local caching is APCu, and memcached or redis to cache for multiple instances. See docs for how to use it: https://doc.owncloud.org/server/8.1/admin_manual/configuration_server/config_sample_php_parameters.html#memory-caching-backend-configuration fixes #15
Updated, I forgot to push 8.0 From what I understood in the docs, only one caching mode is available and APCu should be preferred. |
LGTM |
LGTM, thanks! |
Closed
tianon
added a commit
to infosiftr/stackbrew
that referenced
this pull request
Aug 17, 2015
- `cassandra`: `--link` for seeding (docker-library/cassandra#21) - `drupal`: update Drupal 7 to use PHP 5.6 (docker-library/drupal#9) - `elasticsearch`: minor template updates (docker-library/elasticsearch#45) - `logstash`: add 1.4 as a supported version (docker-library/logstash#21) - `mariadb`: add `initdb` directory support (MariaDB/mariadb-docker#18) - `owncloud`: 8.0.6, caching modules (docker-library/owncloud#16) - `percona`: add `initdb` directory support (docker-library/percona#6)
Hi, After adding Regards, |
RichardScothern
pushed a commit
to RichardScothern/official-images
that referenced
this pull request
Jun 14, 2016
- `cassandra`: `--link` for seeding (docker-library/cassandra#21) - `drupal`: update Drupal 7 to use PHP 5.6 (docker-library/drupal#9) - `elasticsearch`: minor template updates (docker-library/elasticsearch#45) - `logstash`: add 1.4 as a supported version (docker-library/logstash#21) - `mariadb`: add `initdb` directory support (MariaDB/mariadb-docker#18) - `owncloud`: 8.0.6, caching modules (docker-library/owncloud#16) - `percona`: add `initdb` directory support (docker-library/percona#6)
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Recommended for local caching is APCu, and memcached or redis to cache for multiple instances.
See docs for how to use it:
https://doc.owncloud.org/server/8.1/admin_manual/configuration_server/config_sample_php_parameters.html#memory-caching-backend-configuration
fixes #15
Note: OwnCloud could utilize APCu, and memcached as fallback, I don't think need to add something there.
Note 2: APCu is still considered "beta", but still recommended by upstream. And even included in Debian (stable).