Skip to content

Commit

Permalink
Add patch for Xdebug to use ext/random/php_random.c on PHP 8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
shivammathur committed Jan 14, 2024
1 parent 0c0066c commit c00eacd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/install-extension.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ patch_pdo_sqlsrv() {
patch_xdebug() {
# Patch for xdebug on PHP 8.3.
sed -i 's/80400/80500/g' config.m4
[[ "$PHP_VERSION" = "8.4" ]] && sed -i -e "s|ext/standard/php_lcg.h|ext/random/php_random.h|" src/lib/usefulstuff.c
}

patch_amqp() {
Expand Down

0 comments on commit c00eacd

Please sign in to comment.