diff --git a/php/8.3-ubuntu-apache/Dockerfile b/php/8.3-ubuntu-apache/Dockerfile
index eae22bb0a7c26b544124c0f9853be1c5c7644a61..7ea21d3ee4affcbf94eb7cd85be39b09c87b66ee 100644
--- a/php/8.3-ubuntu-apache/Dockerfile
+++ b/php/8.3-ubuntu-apache/Dockerfile
@@ -184,6 +184,7 @@ RUN set -xe &&\
         rsync \
         unzip \
         xz-utils \
+        yq \
     " &&\
     apt-get install -qy --no-install-recommends $buildDeps $runDeps &&\
     rm -rf /var/lib/apt/lists/*
diff --git a/php/8.4-ubuntu-apache/Dockerfile b/php/8.4-ubuntu-apache/Dockerfile
index 5ec0a8fa028231428c041701d293ca6535dc952f..ab07a8372b44bc1d1d9c152b29fb89c12d5bdefa 100644
--- a/php/8.4-ubuntu-apache/Dockerfile
+++ b/php/8.4-ubuntu-apache/Dockerfile
@@ -182,6 +182,7 @@ RUN set -xe &&\
         rsync \
         unzip \
         xz-utils \
+        yq \
     " &&\
     apt-get install -qy --no-install-recommends $buildDeps $runDeps &&\
     rm -rf /var/lib/apt/lists/*