Skip to content

Commit fb4f4e4

Browse files
authored
the /run/unit folder is now created by nginx unit 1.30 for us in php 8.2-zts
1 parent 2cd935d commit fb4f4e4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Dockerfile

+1-2
Original file line numberDiff line numberDiff line change
@@ -291,8 +291,7 @@ RUN echo "php_admin_flag[fastcgi.logging] = off" >> /etc/${PHP_PACKAGE_BASENAME}
291291
RUN apk add --no-cache unit~=$UNIT_VERSION unit-${PHP_PACKAGE_BASENAME}~=$UNIT_VERSION
292292
# add default nginx unit json file (listening on port 8080)
293293
COPY files/unit/unit-default.json /var/lib/unit/conf.json
294-
# add folder for control socket file
295-
RUN mkdir /run/unit/
294+
# chown the folder for control socket file
296295
RUN chown www-data:www-data /run/unit/
297296

298297
# install apache2 and the php module for apache2

0 commit comments

Comments
 (0)