Skip to content

Commit

Permalink
Increase default apc.shm_size to 128M
Browse files Browse the repository at this point in the history
  • Loading branch information
csandanov committed Aug 7, 2024
1 parent 08e002a commit 2f44734
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion 8/templates/docker-php-ext-apcu.ini.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -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" }}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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` |
Expand Down

0 comments on commit 2f44734

Please sign in to comment.