Skip to content

Commit e96c213

Browse files
authored
[PHP/Codeigniter] Update PHP version 8.4 (#9408) (#9692)
1 parent 9e7dd42 commit e96c213

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ubuntu:22.04
1+
FROM ubuntu:24.04
22

33
ARG DEBIAN_FRONTEND=noninteractive
44

@@ -7,16 +7,16 @@ RUN LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php > /dev/null && \
77
apt-get update -yqq > /dev/null && apt-get upgrade -yqq > /dev/null
88

99
RUN apt-get update > /dev/null && apt-get install -yqq nginx git unzip \
10-
php8.3-cli php8.3-fpm php8.3-mysql php8.3-mbstring php8.3-intl php8.3-curl > /dev/null
10+
php8.4-cli php8.4-fpm php8.4-mysql php8.4-mbstring php8.4-intl php8.4-curl > /dev/null
1111

1212
COPY --from=composer:latest /usr/bin/composer /usr/local/bin/composer
1313

14-
COPY deploy/conf/* /etc/php/8.3/fpm/
14+
COPY deploy/conf/* /etc/php/8.4/fpm/
1515

1616
ADD ./ /codeigniter
1717
WORKDIR /codeigniter
1818

19-
RUN if [ $(nproc) = 2 ]; then sed -i "s|pm.max_children = 1024|pm.max_children = 512|g" /etc/php/8.3/fpm/php-fpm.conf ; fi;
19+
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;
2020

2121
RUN composer install --optimize-autoloader --classmap-authoritative --no-dev
2222
#--quiet
@@ -25,5 +25,5 @@ RUN chmod -R 777 writable
2525

2626
EXPOSE 8080
2727

28-
CMD service php8.3-fpm start && \
28+
CMD service php8.4-fpm start && \
2929
nginx -c /codeigniter/deploy/nginx.conf

0 commit comments

Comments
 (0)