Skip to content

Commit

Permalink
Merge pull request #341 from netlogix/feature/app-opcache-preload-env
Browse files Browse the repository at this point in the history
  • Loading branch information
saschanowak authored Oct 11, 2024
2 parents d7420df + 9dabc20 commit 14c655a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions php/8.2.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ ENV PHP_VERSION=${PHP_VERSION} \
PHP_UPLOAD_MAX_FILESIZE=100M \
PHP_OPCACHE_ENABLE_FILE_OVERRIDE=0 \
PHP_OPCACHE_INTERNED_STRINGS_BUFFER=8 \
PHP_OPCACHE_PRELOAD_USER=www-data \
PHP_REALPATH_CACHE_TTL=512 \
PHP_XDEBUG_HOST=host.docker.internal \
PHP_XDEBUG_MODE=off \
Expand Down
1 change: 1 addition & 0 deletions php/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ ENV PHP_VERSION=${PHP_VERSION} \
PHP_UPLOAD_MAX_FILESIZE=100M \
PHP_OPCACHE_ENABLE_FILE_OVERRIDE=0 \
PHP_OPCACHE_INTERNED_STRINGS_BUFFER=8 \
PHP_OPCACHE_PRELOAD_USER=www-data \
PHP_REALPATH_CACHE_TTL=512 \
PHP_XDEBUG_HOST=host.docker.internal \
PHP_XDEBUG_MODE=off \
Expand Down
2 changes: 2 additions & 0 deletions php/config/conf.d/99-php.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ upload_max_filesize = ${PHP_UPLOAD_MAX_FILESIZE}
max_input_vars = ${PHP_MAX_INPUT_VARS}
opcache.enable_file_override = ${PHP_OPCACHE_ENABLE_FILE_OVERRIDE}
opcache.interned_strings_buffer = ${PHP_OPCACHE_INTERNED_STRINGS_BUFFER}
opcache.preload = ${PHP_OPCACHE_PRELOAD}
opcache.preload_user=${PHP_OPCACHE_PRELOAD_USER}
zend.assertions = ${PHP_ASSERT}
zend.detect_unicode = 0
realpath_cache_ttl = ${PHP_REALPATH_CACHE_TTL}
Expand Down

0 comments on commit 14c655a

Please sign in to comment.