Skip to content

Commit 9f69ff6

Browse files
committed
fix: docker disable xdebug
1 parent c61a6da commit 9f69ff6

2 files changed

Lines changed: 10 additions & 4 deletions

File tree

.docker/Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ RUN apt-get update \
5151

5252
#----------------------------------------------------------------------
5353
# Install Apache, PHP and its extensions
54-
# TODO : php8.3-pcntl ?
5554
#----------------------------------------------------------------------
5655
RUN apt-get update \
5756
&& apt-get install --no-install-recommends -y \

.docker/php.ini

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
; config/php.ini
22
date.timezone = Europe/Paris
33

4-
# hide php version
4+
; hide php version
55
expose_php = off
66

77
opcache.enable = 1
@@ -10,7 +10,7 @@ opcache.memory_consumption = 128
1010
opcache.revalidate_freq = 0
1111
apc.enable_cli = On
1212

13-
# in order to allow large file uploads
13+
; in order to allow large file uploads
1414
upload_max_filesize = 300M
1515
post_max_size = 300M
1616
max_input_time = 600
@@ -23,5 +23,12 @@ realpath_cache_ttl=7200
2323
display_errors = Off
2424
display_startup_errors = Off
2525

26-
# to avoid problems with symfony
26+
; to avoid problems with symfony
2727
variables_order = "EGPCS"
28+
29+
; Set xdebug autostart to false
30+
xdebug.remote_autostart=0
31+
xdebug.remote_enable=0
32+
33+
; Disable your profiler
34+
xdebug.profiler_enable=0

0 commit comments

Comments
 (0)