Skip to content

Commit b7e04b2

Browse files
authored
[reactphp] Update to php 8.1 (#6901)
1 parent aa82ef1 commit b7e04b2

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

frameworks/PHP/reactphp/benchmark_config.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"classification": "Platform",
1414
"framework": "reactphp",
1515
"language": "PHP",
16-
"flavor": "PHP7",
16+
"flavor": "PHP8.1",
1717
"database": "MySQL",
1818
"orm": "Raw",
1919
"platform": "reactphp",

frameworks/PHP/reactphp/reactphp.dockerfile

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,20 @@ RUN apt-get update -yqq && apt-get install -yqq software-properties-common > /de
66
RUN LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php
77
RUN apt-get update -yqq > /dev/null && \
88
apt-get install -yqq git unzip wget curl build-essential \
9-
php8.0-cli php8.0-mbstring php8.0-dev php8.0-xml php8.0-curl php8.0-mysql > /dev/null
9+
php8.1-cli php8.1-mbstring php8.1-dev php8.1-xml php8.1-curl php8.1-mysql > /dev/null
1010

1111
# An extension is required!
1212
# We deal with concurrencies over 1k, which stream_select doesn't support.
1313
RUN wget http://pear.php.net/go-pear.phar --quiet && php go-pear.phar
1414
#RUN apt-get install -y libuv1-dev > /dev/null
1515
RUN apt-get install -y libevent-dev > /dev/null
16-
#RUN pecl install uv-0.2.4 > /dev/null && echo "extension=uv.so" > /etc/php/8.0/cli/conf.d/uv.ini
17-
RUN pecl install event-3.0.5 > /dev/null && echo "extension=event.so" > /etc/php/8.0/cli/conf.d/event.ini
16+
#RUN pecl install uv-0.2.4 > /dev/null && echo "extension=uv.so" > /etc/php/8.1/cli/conf.d/uv.ini
17+
RUN pecl install event-3.0.6 > /dev/null && echo "extension=event.so" > /etc/php/8.1/cli/conf.d/event.ini
1818

1919
ADD ./ /reactphp
2020
WORKDIR /reactphp
2121

22-
COPY deploy/conf/* /etc/php/8.0/cli/conf.d/
22+
COPY deploy/conf/* /etc/php/8.1/cli/conf.d/
2323

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

0 commit comments

Comments
 (0)