Skip to content

Commit 2d7bd75

Browse files
joanheyjbr
authored andcommitted
[hamlet] Update to php 8.1 (TechEmpower#6915)
1 parent fe286fd commit 2d7bd75

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

frameworks/PHP/hamlet/benchmark_config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"database": "mysql",
1616
"framework": "hamlet",
1717
"language": "PHP",
18-
"flavor": "PHP8",
18+
"flavor": "PHP8.1",
1919
"orm": "micro",
2020
"platform": "FPM/FastCGI",
2121
"webserver": "nginx",

frameworks/PHP/hamlet/hamlet.dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
FROM ubuntu:20.04
22

3-
ENV PHP_VERSION 8.0
3+
ENV PHP_VERSION 8.1
44
ARG DEBIAN_FRONTEND=noninteractive
55

66
RUN apt-get update -yqq && apt-get install -yqq software-properties-common > /dev/null
77
RUN LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php
88
RUN apt-get update -yqq > /dev/null && \
99
apt-get install -yqq nginx git unzip curl \
10-
php${PHP_VERSION}-cli php${PHP_VERSION}-fpm php${PHP_VERSION}-apcu php${PHP_VERSION}-pdo-mysql > /dev/null
10+
php${PHP_VERSION}-cli php${PHP_VERSION}-fpm php${PHP_VERSION}-apcu php${PHP_VERSION}-pdo-mysql php${PHP_VERSION}-dev > /dev/null
1111

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

0 commit comments

Comments
 (0)