Skip to content

Commit

Permalink
Add display_errors and display_startup_errors to php 8.2 #58
Browse files Browse the repository at this point in the history
  • Loading branch information
en-jschuetze committed Feb 13, 2024
1 parent d686182 commit 01c276a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,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
2 changes: 2 additions & 0 deletions files/php.ini
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,5 @@ 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}
display_errors=${PHP_DISPLAY_ERRORS}
display_startup_errors=${PHP_DISPLAY_STARTUP_ERRORS}

0 comments on commit 01c276a

Please sign in to comment.