diff --git a/docker/openemr/7.0.3/Dockerfile b/docker/openemr/7.0.3/Dockerfile
index ec9374a6..1c39a8be 100644
--- a/docker/openemr/7.0.3/Dockerfile
+++ b/docker/openemr/7.0.3/Dockerfile
@@ -3,11 +3,11 @@ FROM alpine:3.19
#Install dependencies and fix issue in apache
RUN apk --no-cache upgrade
RUN apk add --no-cache \
- apache2 apache2-ssl apache2-utils git php83 php83-tokenizer php83-ctype php83-session php83-apache2 \
+ apache2 apache2-ssl apache2-utils apache2-proxy git php83 php83-tokenizer php83-ctype php83-session php83-apache2 \
php83-json php83-pdo php83-pdo_mysql php83-curl php83-ldap php83-openssl php83-iconv \
php83-xml php83-xsl php83-gd php83-zip php83-soap php83-mbstring php83-zlib \
php83-mysqli php83-sockets php83-xmlreader php83-redis php83-simplexml php83-xmlwriter php83-phar php83-fileinfo \
- php83-sodium php83-calendar php83-intl php83-opcache php83-pecl-apcu \
+ php83-sodium php83-calendar php83-intl php83-opcache php83-pecl-apcu php83-fpm \
perl mysql-client tar curl imagemagick nodejs npm \
certbot openssl openssl-dev dcron \
rsync shadow ncurses \
diff --git a/docker/openemr/7.0.3/openemr.conf b/docker/openemr/7.0.3/openemr.conf
index ba3952e0..46d646cf 100644
--- a/docker/openemr/7.0.3/openemr.conf
+++ b/docker/openemr/7.0.3/openemr.conf
@@ -65,3 +65,8 @@ CustomLog "|/usr/sbin/rotatelogs -n 5 ${APACHE_LOG_DIR}/access.log 86400" combin
SSLCertificateFile /etc/ssl/certs/webserver.cert.pem
SSLCertificateKeyFile /etc/ssl/private/webserver.key.pem
+
+#Add FPM FCGI configuration
+
+ SetHandler "proxy:fcgi://127.0.0.1:9000"
+
\ No newline at end of file
diff --git a/docker/openemr/flex-3.19/Dockerfile b/docker/openemr/flex-3.19/Dockerfile
index f658ecae..b72e4c6f 100644
--- a/docker/openemr/flex-3.19/Dockerfile
+++ b/docker/openemr/flex-3.19/Dockerfile
@@ -3,11 +3,11 @@ FROM alpine:3.19
#Install dependencies and fix issue in apache
RUN apk --no-cache upgrade
RUN apk add --no-cache \
- apache2 apache2-ssl apache2-utils git php83 php83-tokenizer php83-ctype php83-session php83-apache2 \
+ apache2 apache2-ssl apache2-utils apache2-proxy git php83 php83-tokenizer php83-ctype php83-session php83-apache2 \
php83-json php83-pdo php83-pdo_mysql php83-curl php83-ldap php83-openssl php83-iconv \
php83-xml php83-xsl php83-gd php83-zip php83-soap php83-mbstring php83-zlib \
php83-mysqli php83-sockets php83-xmlreader php83-redis perl php83-simplexml php83-xmlwriter php83-phar php83-fileinfo \
- php83-sodium php83-calendar php83-intl php83-opcache php83-pecl-apcu \
+ php83-sodium php83-calendar php83-intl php83-opcache php83-pecl-apcu php83-fpm \
mysql-client tar curl imagemagick nodejs npm \
certbot openssl git openssl-dev dcron \
rsync shadow jq ncurses \
diff --git a/docker/openemr/flex-3.19/openemr.conf b/docker/openemr/flex-3.19/openemr.conf
index 0b0b3b63..277eb7c6 100644
--- a/docker/openemr/flex-3.19/openemr.conf
+++ b/docker/openemr/flex-3.19/openemr.conf
@@ -71,3 +71,8 @@ CustomLog "|/usr/sbin/rotatelogs -n 5 ${APACHE_LOG_DIR}/access.log 86400" combin
# Used for client based certificates
#SSLCACertificateFile /etc/ssl/certs/CAcustomclientbasedwebserver.cert.pem
+
+#Add FPM FCGI configuration
+
+ SetHandler "proxy:fcgi://127.0.0.1:9000"
+
\ No newline at end of file
diff --git a/docker/openemr/flex-edge/Dockerfile b/docker/openemr/flex-edge/Dockerfile
index 3270ae76..f7b5744b 100644
--- a/docker/openemr/flex-edge/Dockerfile
+++ b/docker/openemr/flex-edge/Dockerfile
@@ -3,11 +3,11 @@ FROM alpine:edge
#Install dependencies and fix issue in apache
RUN apk --no-cache upgrade
RUN apk add --no-cache \
- apache2 apache2-ssl apache2-utils git php83 php83-tokenizer php83-ctype php83-session php83-apache2 \
+ apache2 apache2-ssl apache2-utils apache2-proxy git php83 php83-tokenizer php83-ctype php83-session php83-apache2 \
php83-json php83-pdo php83-pdo_mysql php83-curl php83-ldap php83-openssl php83-iconv \
php83-xml php83-xsl php83-gd php83-zip php83-soap php83-mbstring php83-zlib \
php83-mysqli php83-sockets php83-xmlreader php83-redis perl php83-simplexml php83-xmlwriter php83-phar php83-fileinfo \
- php83-sodium php83-calendar php83-intl php83-opcache php83-pecl-apcu \
+ php83-sodium php83-calendar php83-intl php83-opcache php83-pecl-apcu php83-fpm \
mysql-client tar curl imagemagick nodejs npm \
certbot openssl git openssl-dev dcron \
rsync shadow jq ncurses \
diff --git a/docker/openemr/flex-edge/openemr.conf b/docker/openemr/flex-edge/openemr.conf
index 0b0b3b63..277eb7c6 100644
--- a/docker/openemr/flex-edge/openemr.conf
+++ b/docker/openemr/flex-edge/openemr.conf
@@ -71,3 +71,8 @@ CustomLog "|/usr/sbin/rotatelogs -n 5 ${APACHE_LOG_DIR}/access.log 86400" combin
# Used for client based certificates
#SSLCACertificateFile /etc/ssl/certs/CAcustomclientbasedwebserver.cert.pem
+
+#Add FPM FCGI configuration
+
+ SetHandler "proxy:fcgi://127.0.0.1:9000"
+
\ No newline at end of file