diff --git a/8/templates/docker-php-ext-apcu.ini.tmpl b/8/templates/docker-php-ext-apcu.ini.tmpl index 5479d0e..1eb4f89 100644 --- a/8/templates/docker-php-ext-apcu.ini.tmpl +++ b/8/templates/docker-php-ext-apcu.ini.tmpl @@ -2,7 +2,7 @@ extension=apcu.so apc.enabled = {{ getenv "PHP_APCU_ENABLED" "1" }} apc.shm_segments = {{ getenv "PHP_APCU_SHM_SEGMENTS" "1" }} -apc.shm_size = {{ getenv "PHP_APCU_SHM_SIZE" "32M" }} +apc.shm_size = {{ getenv "PHP_APCU_SHM_SIZE" "128M" }} apc.entries_hint = {{ getenv "PHP_APCU_ENTRIES_HINT" "4096" }} apc.ttl = {{ getenv "PHP_APCU_TTL" "0" }} apc.gc_ttl = {{ getenv "PHP_APCU_GC_TTL" "3600" }} diff --git a/README.md b/README.md index 2ed4a48..4e9f9a2 100644 --- a/README.md +++ b/README.md @@ -84,7 +84,7 @@ The default configuration not recommended for use for production environment: | [`PHP_APCU_PRELOAD_PATH`] | `NULL` | `NULL` | `NULL` | | [`PHP_APCU_SERIALIZER`] | | | | | [`PHP_APCU_SHM_SEGMENTS`] | `1` | `1` | `1` | -| [`PHP_APCU_SHM_SIZE`] | `32M` | `32M` | `32M` | +| [`PHP_APCU_SHM_SIZE`] | `128M` | `128M` | `128M` | | [`PHP_APCU_SLAM_DEFENSE`] | `1` | `1` | `1` | | [`PHP_APCU_TTL`] | `0` | `0` | `0` | | [`PHP_APCU_USE_REQUEST_TIME`] | `1` | `1` | `1` |