Skip to content

Commit c0233da

Browse files
Merge pull request #9510 from joanhey/lumen-php8.4
[php] Lumen update to PHP/8.4
2 parents 6f8f4a8 + a42b0a1 commit c0233da

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

frameworks/PHP/lumen/deploy/conf/cli-php.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ memory_limit = 512M
1313
opcache.jit_buffer_size = 128M
1414
opcache.jit = tracing
1515

16-
disable_functions=header,header_remove,headers_sent,http_response_code,setcookie,session_create_id,session_id,session_name,session_save_path,session_status,session_start,session_write_close,session_regenerate_id,set_time_limit
16+
disable_functions=header,header_remove,headers_sent,headers_list,http_response_code,setcookie,session_create_id,session_id,session_name,session_save_path,session_status,session_start,session_write_close,session_regenerate_id,session_unset,session_get_cookie_params,session_set_cookie_params,set_time_limit

frameworks/PHP/lumen/lumen-laravel-s.dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM phpswoole/swoole:5.1.3-php8.3
1+
FROM phpswoole/swoole:php8.4
22

33
RUN docker-php-ext-install pcntl opcache curl > /dev/null
44

frameworks/PHP/lumen/lumen-swoole.dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM phpswoole/swoole:5.1.3-php8.3
1+
FROM phpswoole/swoole:php8.4
22

33
RUN docker-php-ext-install pcntl opcache curl > /dev/null
44

frameworks/PHP/lumen/lumen-workerman.dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@ 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 install -yqq nginx git unzip \
10-
php8.3-cli php8.3-mysql php8.3-mbstring php8.3-xml php8.3-dev > /dev/null
10+
php8.4-cli php8.4-mysql php8.4-mbstring php8.4-xml php8.4-dev > /dev/null
1111

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

14-
RUN apt-get install -y php-pear php8.3-dev libevent-dev > /dev/null
15-
RUN pecl install event-3.1.3 > /dev/null && echo "extension=event.so" > /etc/php/8.3/cli/conf.d/event.ini
14+
RUN apt-get install -y php-pear php8.4-dev libevent-dev > /dev/null
15+
RUN pecl install event-3.1.4 > /dev/null && echo "extension=event.so" > /etc/php/8.4/cli/conf.d/event.ini
1616

1717
WORKDIR /lumen
1818
COPY --link . .
1919

2020

2121
RUN composer install --optimize-autoloader --classmap-authoritative --no-dev --quiet
22-
RUN composer require joanhey/adapterman:^0.6 --quiet
22+
RUN composer require joanhey/adapterman:^0.7 --quiet
2323

2424
RUN mkdir -p storage \
2525
storage/framework/sessions \

frameworks/PHP/lumen/lumen.dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,17 @@ 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 install -yqq nginx git unzip \
10-
php8.3-cli php8.3-fpm php8.3-mysql php8.3-mbstring php8.3-xml php8.3-dev > /dev/null
10+
php8.4-cli php8.4-fpm php8.4-mysql php8.4-mbstring php8.4-xml php8.4-dev > /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
WORKDIR /lumen
1717
COPY --link . .
1818

1919

20-
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;
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;
2121

2222
RUN composer install --optimize-autoloader --classmap-authoritative --no-dev --quiet
2323

@@ -30,5 +30,5 @@ RUN chmod -R 777 /lumen
3030

3131
EXPOSE 8080
3232

33-
CMD service php8.3-fpm start && \
33+
CMD service php8.4-fpm start && \
3434
nginx -c /lumen/deploy/nginx.conf

0 commit comments

Comments
 (0)