Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions _sources/configs/php_common_error_log.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
; Empty = SAPI default (Apache ErrorLog). For container stderr: /proc/self/fd/2
error_log="${PHP_ERROR_LOG}"
2 changes: 2 additions & 0 deletions docker-compose.sample.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ x-web-environment: &x-web-environment
MW_SHOW_NON_PROD_INDICATOR: "false"
PHP_UPLOAD_MAX_FILESIZE: 500M
PHP_POST_MAX_SIZE: 500M
# PHP errors to container stderr (docker/kubectl logs). Unset = Apache ErrorLog files.
# PHP_ERROR_LOG: /proc/self/fd/2
# disable bundled runners as we have a worker container now
MW_ENABLE_TRANSCODER: false
MW_ENABLE_JOB_RUNNER: false
Expand Down
1 change: 1 addition & 0 deletions templates/final.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ ENV MW_AUTOUPDATE=true \
MW_SITEMAP_IDENTIFIER="mediawiki" \
MW_CONFIG_DIR=/mediawiki/config \
PHP_ERROR_REPORTING="E_ALL & ~E_USER_DEPRECATED & ~E_DEPRECATED & ~E_STRICT" \
PHP_ERROR_LOG="" \
PHP_UPLOAD_MAX_FILESIZE=10M \
PHP_POST_MAX_SIZE=10M \
PHP_MEMORY_LIMIT=128M \
Expand Down
Loading