Skip to content

Commit

Permalink
Merge pull request #174 from MauricioFauth/php83-support
Browse files Browse the repository at this point in the history
Add PHP 8.3 support
boesing authored Sep 3, 2023

Verified

This commit was signed with the committer’s verified signature.
pradyunsg Pradyun Gedam
2 parents 291d888 + ecc5dd4 commit 9d21d8d
Showing 3 changed files with 18 additions and 2 deletions.
17 changes: 16 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -210,6 +210,21 @@ RUN export OS_VERSION=$(cat /etc/os-release | grep VERSION_ID | cut -d '"' -f2)
php8.2-xml \
php8.2-xsl \
php8.2-zip \
\
php8.3-cli \
php8.3-bz2 \
php8.3-curl \
php8.3-dev \
php8.3-fileinfo \
php8.3-intl \
php8.3-mbstring \
php8.3-phar \
php8.3-phpdbg \
php8.3-readline \
php8.3-sockets \
php8.3-xml \
php8.3-xsl \
php8.3-zip \
&& apt autoremove -y \
&& apt clean

@@ -250,7 +265,7 @@ COPY composer.json \

RUN cd /tools \
# Install `ext-bcmath` as it seems to be a requirement for `roave/backward-compatibility-check`
&& apt install -y php-bcmath \
&& apt install -y php-bcmath php8.3-bcmath \
&& composer install \
--classmap-authoritative

1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -237,6 +237,7 @@ The container the action provides and consumes builds off the ubuntu:focal image
- 8.0
- 8.1
- 8.2
- 8.3

Each provides the following extensions by default:

2 changes: 1 addition & 1 deletion scripts/php_ini_dev_settings.sh
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@ SUBSTITUTIONS+=('s/mysqlnd.collect_memory_statistics ?= ?(On|Off)/mysqlnd.collec
SUBSTITUTIONS+=('s/zend.assertions ?= ?(-1|1)/zend.assertions = 1/')
SUBSTITUTIONS+=('s/opcache.huge_code_pages ?= ?(0|1)/opcache.huge_code_pages = 0/')

for PHP_VERSION in 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2;do
for PHP_VERSION in 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3;do
for PHP_SAPI in cli phpdbg; do
INI_FILE="/etc/php/${PHP_VERSION}/${PHP_SAPI}/php.ini"
for SUBSTITUTION in "${SUBSTITUTIONS[@]}";do

0 comments on commit 9d21d8d

Please sign in to comment.