Skip to content

Commit

Permalink
fixes for the php 8.4 CI build
Browse files Browse the repository at this point in the history
  • Loading branch information
gggeek committed Sep 7, 2024
1 parent ead6407 commit 18715eb
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
5 changes: 5 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## XML-RPC for PHP version 4.11 - UNRELEASED

* improved: compatibility with not-yet-released PHP version 8.4


## XML-RPC for PHP version 4.10.4 - 2024/06/27

* fixed: Response returned from the library in case of HttpException did not have set the correct `status_code` member var
Expand Down
11 changes: 7 additions & 4 deletions tests/ci/setup/setup_php.sh
Original file line number Diff line number Diff line change
Expand Up @@ -111,15 +111,18 @@ else
LC_ALL=en_US.UTF-8 add-apt-repository ppa:ondrej/php
apt-get update

DEBIAN_FRONTEND=noninteractive apt-get install -y \
php${PHP_VERSION} \
PHP_PACKAGES="php${PHP_VERSION} \
php${PHP_VERSION}-cli \
php${PHP_VERSION}-dom \
php${PHP_VERSION}-curl \
php${PHP_VERSION}-fpm \
php${PHP_VERSION}-mbstring \
php${PHP_VERSION}-sqlite3 \
php${PHP_VERSION}-xdebug
php${PHP_VERSION}-sqlite3"
# @todo remove this IF once xdebug is compatible and available
if [ "${PHP_VERSION}" != 8.4 ]; then
PHP_PACKAGES="${PHP_PACKAGES} php${PHP_VERSION}-xdebug"
fi
DEBIAN_FRONTEND=noninteractive apt-get install -y ${PHP_PACKAGES}

update-alternatives --set php /usr/bin/php${PHP_VERSION}
fi
Expand Down

0 comments on commit 18715eb

Please sign in to comment.