Skip to content

Commit 9ec43b9

Browse files
authored
[php] Piko update to PHP 8.5 (#10315)
1 parent 844f0c8 commit 9ec43b9

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

frameworks/PHP/piko/piko-postgres.dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ ARG DEBIAN_FRONTEND=noninteractive
66

77
RUN apt-get update -yqq && apt-get install -yqq software-properties-common > /dev/null
88
RUN LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php
9-
RUN apt-get install -yqq nginx git unzip php8.4-fpm php8.4-pgsql > /dev/null
9+
RUN apt-get install -yqq nginx git unzip php8.5-fpm php8.5-pgsql > /dev/null
1010

11-
COPY deploy/conf/* /etc/php/8.4/fpm/
11+
COPY deploy/conf/* /etc/php/8.5/fpm/
1212

1313
WORKDIR /piko
1414
COPY --link . .
@@ -17,12 +17,12 @@ COPY --from=composer:latest /usr/bin/composer /usr/local/bin/composer
1717

1818
RUN composer install --optimize-autoloader --classmap-authoritative --no-dev --quiet
1919

20-
RUN if [ $(nproc) = 2 ]; then sed -i "s|pm.max_children = 1024|pm.max_children = 512|g" /etc/php/8.4/fpm/php-fpm.conf ; fi;
20+
RUN if [ $(nproc) = 2 ]; then sed -i "s|pm.max_children = 1024|pm.max_children = 512|g" /etc/php/8.5/fpm/php-fpm.conf ; fi;
2121

2222
RUN chmod -R 777 /piko
2323

2424
EXPOSE 8080
2525

2626
CMD set -e; \
2727
/usr/sbin/nginx -c /piko/deploy/nginx.conf 2>&1 > /dev/stderr & \
28-
exec /usr/sbin/php-fpm8.4 --nodaemonize --fpm-config /etc/php/8.4/fpm/php-fpm.conf
28+
exec /usr/sbin/php-fpm8.5 --nodaemonize --fpm-config /etc/php/8.5/fpm/php-fpm.conf

frameworks/PHP/piko/piko.dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ ARG DEBIAN_FRONTEND=noninteractive
44

55
RUN apt-get update -yqq && apt-get install -yqq software-properties-common > /dev/null
66
RUN LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php
7-
RUN apt-get install -yqq nginx git unzip php8.4-fpm php8.4-mysql > /dev/null
7+
RUN apt-get install -yqq nginx git unzip php8.5-fpm php8.5-mysql > /dev/null
88

9-
COPY deploy/conf/* /etc/php/8.4/fpm/
9+
COPY deploy/conf/* /etc/php/8.5/fpm/
1010

1111
WORKDIR /piko
1212
COPY --link . .
@@ -15,11 +15,11 @@ COPY --from=composer:latest /usr/bin/composer /usr/local/bin/composer
1515

1616
RUN composer install --optimize-autoloader --classmap-authoritative --no-dev --quiet
1717

18-
RUN if [ $(nproc) = 2 ]; then sed -i "s|pm.max_children = 1024|pm.max_children = 512|g" /etc/php/8.4/fpm/php-fpm.conf ; fi;
18+
RUN if [ $(nproc) = 2 ]; then sed -i "s|pm.max_children = 1024|pm.max_children = 512|g" /etc/php/8.5/fpm/php-fpm.conf ; fi;
1919

2020
RUN chmod -R 777 /piko
2121

2222
EXPOSE 8080
2323

24-
CMD service php8.4-fpm start && \
24+
CMD service php8.5-fpm start && \
2525
nginx -c /piko/deploy/nginx.conf 2>&1 > /dev/stderr

0 commit comments

Comments
 (0)