From fa02bf24e45c7cdcd27b420407434974520b8f2c Mon Sep 17 00:00:00 2001 From: Finley Ghosh Date: Mon, 11 Aug 2025 16:14:18 +1000 Subject: [PATCH] trying to disable proxy_fcgi --- Dockerfile_stg | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile_stg b/Dockerfile_stg index 2308b091..4a54435b 100644 --- a/Dockerfile_stg +++ b/Dockerfile_stg @@ -50,5 +50,8 @@ RUN chmod +x /var/www/cmc-sales/run_vault.sh # Ensure CakePHP tmp directory is writable by web server RUN chmod -R 777 /var/www/cmc-sales/app/tmp +# Disable proxy_fcgi and remove any PHP-FPM conf files to force classic mod_php +RUN a2dismod proxy_fcgi +RUN rm -f /etc/apache2/conf-enabled/php*-fpm.conf || true # By default, simply start apache. CMD /usr/sbin/apache2ctl -D FOREGROUND