Skip to content

[mixphp] Update to php 8.1 #6900

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 10, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions frameworks/PHP/mixphp/benchmark_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"database": "MySQL",
"framework": "MixPHP",
"language": "PHP",
"flavor": "PHP8",
"flavor": "PHP8.1",
"orm": "micro",
"platform": "workerman",
"webserver": "None",
Expand All @@ -82,7 +82,7 @@
"database": "Postgres",
"framework": "MixPHP",
"language": "PHP",
"flavor": "PHP8",
"flavor": "PHP8.1",
"orm": "raw",
"platform": "workerman",
"webserver": "None",
Expand Down
8 changes: 4 additions & 4 deletions frameworks/PHP/mixphp/mixphp-workerman-mysql.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ ARG DEBIAN_FRONTEND=noninteractive

RUN apt-get update -yqq && apt-get install -yqq software-properties-common > /dev/null
RUN LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php
RUN apt-get update -yqq && apt-get install -yqq git unzip wget curl build-essential php8.0-cli php8.0-mbstring php8.0-curl php8.0-xml php8.0-mysql > /dev/null
RUN apt-get update -yqq && apt-get install -yqq git unzip wget curl build-essential php8.1-cli php8.1-mbstring php8.1-curl php8.1-xml php8.1-mysql > /dev/null

RUN apt-get install -y php8.0-dev libevent-dev > /dev/null
RUN apt-get install -y php8.1-dev libevent-dev > /dev/null
RUN wget http://pear.php.net/go-pear.phar --quiet && php go-pear.phar
RUN pecl install event-3.0.4 > /dev/null && echo "extension=event.so" > /etc/php/8.0/cli/conf.d/event.ini
RUN pecl install event-3.0.6 > /dev/null && echo "extension=event.so" > /etc/php/8.1/cli/conf.d/event.ini

COPY php-jit.ini /etc/php/8.0/cli/php.ini
COPY php-jit.ini /etc/php/8.1/cli/php.ini

ADD ./ /mixphp
WORKDIR /mixphp
Expand Down
8 changes: 4 additions & 4 deletions frameworks/PHP/mixphp/mixphp-workerman-pgsql.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ ARG DEBIAN_FRONTEND=noninteractive

RUN apt-get update -yqq && apt-get install -yqq software-properties-common > /dev/null
RUN LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php
RUN apt-get update -yqq && apt-get install -yqq git unzip wget curl build-essential php8.0-cli php8.0-mbstring php8.0-curl php8.0-xml php8.0-pgsql > /dev/null
RUN apt-get update -yqq && apt-get install -yqq git unzip wget curl build-essential php8.1-cli php8.1-mbstring php8.1-curl php8.1-xml php8.1-pgsql > /dev/null

RUN apt-get install -y php8.0-dev libevent-dev > /dev/null
RUN apt-get install -y php8.1-dev libevent-dev > /dev/null
RUN wget http://pear.php.net/go-pear.phar --quiet && php go-pear.phar
RUN pecl install event-3.0.4 > /dev/null && echo "extension=event.so" > /etc/php/8.0/cli/conf.d/event.ini
RUN pecl install event-3.0.6 > /dev/null && echo "extension=event.so" > /etc/php/8.1/cli/conf.d/event.ini

COPY php-jit.ini /etc/php/8.0/cli/php.ini
COPY php-jit.ini /etc/php/8.1/cli/php.ini

ADD ./ /mixphp
WORKDIR /mixphp
Expand Down