Skip to content

Commit 92ed55b

Browse files
Upgrade to PHP 8.4.0RC2 and install Xdebug
1 parent 1c0f1b0 commit 92ed55b

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

layers/fpm-dev/Dockerfile

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,15 @@ ARG PHP_VERSION
1010
RUN mkdir -p /opt/bref/extensions
1111

1212
# Install xdebug
13+
if [[ $PHP_VERSION != "84" ]]; then
14+
pecl install xdebug-3.3.2
15+
else
16+
pecl install xdebug-3.4.0beta1
17+
fi
18+
19+
RUN if [ $PHP_VERSION != "84" ]; then p; fi
1320
RUN if [ $PHP_VERSION != "84" ]; then pecl install xdebug; fi
14-
RUN if [ $PHP_VERSION != "84" ]; then cp $(php -r "echo ini_get('extension_dir');")/xdebug.so /opt/bref/extensions; fi
21+
cp $(php -r "echo ini_get('extension_dir');")/xdebug.so /opt/bref/extensions
1522

1623
# Install Blackfire
1724
# https://blackfire.io/docs/up-and-running/installation?action=install&mode=full&version=latest&mode=full&location=server&os=manual&language=php#install-the-php-probe

php-84/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
ARG IMAGE_VERSION_SUFFIX
55

66
# https://www.php.net/downloads
7-
ARG RELEASE_USER_PHP=saki
8-
ARG VERSION_PHP=8.4.0RC1
7+
ARG RELEASE_USER_PHP=calvinb
8+
ARG VERSION_PHP=8.4.0RC2
99

1010

1111
# Lambda uses a custom AMI named Amazon Linux 2

0 commit comments

Comments
 (0)