Skip to content

Commit

Permalink
fix: docker disable xdebug
Browse files Browse the repository at this point in the history
  • Loading branch information
cboucheIGN committed Dec 3, 2024
1 parent c61a6da commit 9f69ff6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
1 change: 0 additions & 1 deletion .docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ RUN apt-get update \

#----------------------------------------------------------------------
# Install Apache, PHP and its extensions
# TODO : php8.3-pcntl ?
#----------------------------------------------------------------------
RUN apt-get update \
&& apt-get install --no-install-recommends -y \
Expand Down
13 changes: 10 additions & 3 deletions .docker/php.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
; config/php.ini
date.timezone = Europe/Paris

# hide php version
; hide php version
expose_php = off

opcache.enable = 1
Expand All @@ -10,7 +10,7 @@ opcache.memory_consumption = 128
opcache.revalidate_freq = 0
apc.enable_cli = On

# in order to allow large file uploads
; in order to allow large file uploads
upload_max_filesize = 300M
post_max_size = 300M
max_input_time = 600
Expand All @@ -23,5 +23,12 @@ realpath_cache_ttl=7200
display_errors = Off
display_startup_errors = Off

# to avoid problems with symfony
; to avoid problems with symfony
variables_order = "EGPCS"

; Set xdebug autostart to false
xdebug.remote_autostart=0
xdebug.remote_enable=0

; Disable your profiler
xdebug.profiler_enable=0

0 comments on commit 9f69ff6

Please sign in to comment.