Merge pull request #170 from mlocati/xdebug-php8

Support xdebug with PHP 8
pull/171/head
Michele Locati 2020-09-21 14:56:11 +02:00 committed by GitHub
commit 7df6abbea1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 1 deletions

View File

@ -72,7 +72,7 @@ timezonedb 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0
uopz 5.5 5.6 7.0 7.1 7.2 7.3 7.4
uuid 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0
wddx 5.5 5.6 7.0 7.1 7.2 7.3
xdebug 5.5 5.6 7.0 7.1 7.2 7.3 7.4
xdebug 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0
xhprof 5.5 5.6 7.0 7.1 7.2 7.3 7.4
xmlrpc 5.5 5.6 7.0 7.1 7.2 7.3 7.4
xsl 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0

View File

@ -1317,6 +1317,15 @@ installPECLModule() {
installPECLModule_actual="$1-2.5.5"
elif test $PHP_MAJMIN_VERSION -le 700; then
installPECLModule_actual="$1-2.6.1"
elif test $PHP_MAJMIN_VERSION -ge 800; then
installPECLModule_src="$(getPackageSource https://codeload.github.com/xdebug/xdebug/tar.gz/master)"
cd -- "$installPECLModule_src"
phpize
./configure --enable-xdebug
make -j$(nproc)
make install
cd - >/dev/null
installPECLModule_manuallyInstalled=1
fi
;;
uopz)