Skip to content

Commit 7941995

Browse files
authored
Merge pull request #212 from GrahamCampbell/php-84
Upgrade to PHP 8.4.0RC2 and install Xdebug
2 parents d6247aa + 3b64a92 commit 7941995

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

layers/fpm-dev/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ ARG PHP_VERSION
1010
RUN mkdir -p /opt/bref/extensions
1111

1212
# Install xdebug
13-
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
13+
run if [[ $PHP_VERSION != "84" ]]; then pecl install xdebug-3.3.2; else pecl install xdebug-3.4.0beta1; fi
14+
RUN cp $(php -r "echo ini_get('extension_dir');")/xdebug.so /opt/bref/extensions
1515

1616
# Install Blackfire
1717
# 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

+2-2
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)