Skip to content

Commit

Permalink
Upgrade PHP to v8.3
Browse files Browse the repository at this point in the history
Signed-off-by: Luís Cobucci <[email protected]>
  • Loading branch information
lcobucci committed Dec 10, 2023
1 parent 4f128f8 commit a6657b7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion frameworks/PHP/reactphp/composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"require": {
"php": ">=8.2.0",
"php": ">=8.3.0",
"psr/http-message": "^1.0",
"react/event-loop": "^1.5",
"react/http": "^1.9",
Expand Down
6 changes: 3 additions & 3 deletions frameworks/PHP/reactphp/reactphp.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@ RUN apt-get update -yqq && apt-get install -yqq software-properties-common > /de
RUN LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php
RUN apt-get update -yqq > /dev/null && \
apt-get install -yqq git unzip wget curl build-essential \
php8.2-cli php8.2-mbstring php8.2-dev > /dev/null
php8.3-cli php8.3-mbstring php8.3-dev php8.3-xml > /dev/null

# An extension is required!
# We deal with concurrencies over 1k, which stream_select doesn't support.
RUN apt-get install -yqq libuv1-dev > /dev/null \
&& pecl install uv-beta > /dev/null \
&& echo "extension=uv.so" > /etc/php/8.2/cli/conf.d/uv.ini
&& echo "extension=uv.so" > /etc/php/8.3/cli/conf.d/uv.ini

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

COPY deploy/conf/* /etc/php/8.2/cli/conf.d/
COPY deploy/conf/* /etc/php/8.3/cli/conf.d/

WORKDIR /reactphp

Expand Down

0 comments on commit a6657b7

Please sign in to comment.