From 9f69ff662345f759361594fe2dea893bc1fe9d14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Bouch=C3=A9?= Date: Tue, 3 Dec 2024 14:18:51 +0000 Subject: [PATCH] fix: docker disable xdebug --- .docker/Dockerfile | 1 - .docker/php.ini | 13 ++++++++++--- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.docker/Dockerfile b/.docker/Dockerfile index d2c9157..66e0646 100755 --- a/.docker/Dockerfile +++ b/.docker/Dockerfile @@ -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 \ diff --git a/.docker/php.ini b/.docker/php.ini index c5ed415..7bb6346 100755 --- a/.docker/php.ini +++ b/.docker/php.ini @@ -1,7 +1,7 @@ ; config/php.ini date.timezone = Europe/Paris -# hide php version +; hide php version expose_php = off opcache.enable = 1 @@ -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 @@ -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