Skip to content

Commit faae91d

Browse files
authored
Merge branch 'latest' into dependabot/github_actions/dot-github/workflows/actions/checkout-5
2 parents d4f9010 + 5fd95b0 commit faae91d

File tree

5 files changed

+16
-11
lines changed

5 files changed

+16
-11
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
driver: docker-container
3737

3838
- name: Install GitVersion
39-
uses: gittools/actions/gitversion/setup@v4.0.1
39+
uses: gittools/actions/gitversion/setup@v4.1.0
4040
with:
4141
versionSpec: "6.1.0"
4242

@@ -45,7 +45,7 @@ jobs:
4545

4646
- name: Determine Version
4747
id: gitversion
48-
uses: gittools/actions/gitversion/execute@v4.0.1
48+
uses: gittools/actions/gitversion/execute@v4.1.0
4949
with:
5050
useConfigFile: true
5151
configFilePath: ci/git-version.yml
@@ -138,7 +138,7 @@ jobs:
138138
git config --global user.name "UDX Worker PHP"
139139
140140
- name: Download SBOM Artifact
141-
uses: actions/download-artifact@v4
141+
uses: actions/download-artifact@v5
142142
with:
143143
name: sbom
144144

Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# Use the UDX worker as the base image
2-
FROM usabilitydynamics/udx-worker:0.24.0
2+
FROM usabilitydynamics/udx-worker:0.27.0
33

44
# Add metadata labels
55
LABEL maintainer="UDX"
6-
LABEL version="0.23.0"
6+
LABEL version="0.24.0"
77

88
# Arguments and Environment Variables
99
ARG PHP_VERSION=8.4
1010
ARG PHP_PACKAGE_VERSION=8.4.5-1ubuntu1.1
11-
ARG NGINX_VERSION=1.26.3-2ubuntu1.1
11+
ARG NGINX_VERSION=1.26.3-2ubuntu1.2
1212

1313
# Set the PHP_VERSION and PHP_PACKAGE_VERSION as environment variables
1414
ENV PHP_VERSION="${PHP_VERSION}"
@@ -28,7 +28,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
2828
php"${PHP_VERSION}"-curl="${PHP_PACKAGE_VERSION}" \
2929
php"${PHP_VERSION}"-xml="${PHP_PACKAGE_VERSION}" \
3030
php"${PHP_VERSION}"-zip="${PHP_PACKAGE_VERSION}" \
31-
mysql-client=8.4.5-0ubuntu0.2 && \
31+
mysql-client=8.4.6-0ubuntu0.25.04.3 && \
3232
apt-get clean && \
3333
rm -rf /tmp/* /var/tmp/* && \
3434
mkdir -p /etc/apt/sources.list.d && \
@@ -53,7 +53,7 @@ RUN sed -i "s|\${PHP_VERSION}|${PHP_VERSION}|g" /etc/nginx/snippets/fastcgi-php"
5353
echo "include=/etc/php/${PHP_VERSION}/fpm/pool.d/*.conf" >> /etc/php/"${PHP_VERSION}"/fpm/php-fpm.conf
5454

5555
# Set PHP-FPM socket permissions in the configuration
56-
RUN sed -i "s|^error_log =.*|error_log = /var/log/php/fpm.log|" /etc/php/"${PHP_VERSION}"/fpm/php-fpm.conf && \
56+
RUN sed -i "s|^error_log =.*|error_log = /dev/stderr|" /etc/php/"${PHP_VERSION}"/fpm/php-fpm.conf && \
5757
sed -i "s|^listen.owner =.*|listen.owner = ${USER}|" /etc/php/"${PHP_VERSION}"/fpm/pool.d/www.conf && \
5858
sed -i "s|^listen.group =.*|listen.group = ${USER}|" /etc/php/"${PHP_VERSION}"/fpm/pool.d/www.conf && \
5959
sed -i "s|^listen.mode =.*|listen.mode = 0660|" /etc/php/"${PHP_VERSION}"/fpm/pool.d/www.conf && \

bin/start-php-fpm.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,4 @@ echo " Error log ${PHP_ERROR_LOG}"
6060

6161
# Start PHP-FPM
6262
echo " * Starting PHP-FPM..."
63-
exec php-fpm"${PHP_VERSION}" --nodaemonize --fpm-config "${PHP_FPM_CONFIG}"
63+
exec php-fpm"${PHP_VERSION}" --nodaemonize --fpm-config "${PHP_FPM_CONFIG}" 2>&1

etc/configs/php/php-fpm.conf

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
[global]
2-
error_log = /var/log/php/fpm.log
2+
; Send PHP-FPM logs to stderr
3+
error_log = /dev/stderr
4+
include=/etc/php/${PHP_VERSION}/fpm/pool.d/*.conf

etc/configs/php/www.conf

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,7 @@ pm = dynamic
88
pm.max_children = 5
99
pm.start_servers = 2
1010
pm.min_spare_servers = 1
11-
pm.max_spare_servers = 3
11+
pm.max_spare_servers = 3
12+
13+
; Capture PHP worker output (including error_log) and send to FPM error log
14+
catch_workers_output = yes

0 commit comments

Comments
 (0)