Skip to content

Commit

Permalink
Add display_errors and display_startup_errors to php 8.2-zts #58
Browse files Browse the repository at this point in the history
  • Loading branch information
en-jschuetze committed Feb 13, 2024
1 parent d7343e5 commit 78d513d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,8 @@ ENV PHP_DATE_TIMEZONE="UTC" \
PHP_XDEBUG_CLIENT_HOST='localhost' \
PHP_XDEBUG_DISCOVER_CLIENT_HOST='false' \
PHP_XDEBUG_IDEKEY='' \
PHP_DISPLAY_ERRORS='STDOUT' \
PHP_DISPLAY_STARTUP_ERRORS=1 \
PHP_EXPOSE_PHP=1

RUN mkdir -p /usr/src/app
Expand Down
4 changes: 3 additions & 1 deletion files/php.ini
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,6 @@ xdebug.discover_client_host=${PHP_XDEBUG_DISCOVER_CLIENT_HOST}
xdebug.idekey=${PHP_XDEBUG_IDEKEY}
grpc.enable_fork_support=${PHP_GRPC_ENABLE_FORK_SUPPORT}
grpc.poll_strategy=${PHP_GRPC_POLL_STRATEGY}
expose_php=${PHP_EXPOSE_PHP}
expose_php=${PHP_EXPOSE_PHP}
display_errors=${PHP_DISPLAY_ERRORS}
display_startup_errors=${PHP_DISPLAY_STARTUP_ERRORS}

0 comments on commit 78d513d

Please sign in to comment.