Support xdebug with PHP 8

pull/170/head
Michele Locati 2020-09-21 14:50:13 +02:00
parent e01752d0ca
commit 9e390295b3
No known key found for this signature in database
GPG Key ID: 98B7CE2E7234E28B
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 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 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 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 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 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 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" installPECLModule_actual="$1-2.5.5"
elif test $PHP_MAJMIN_VERSION -le 700; then elif test $PHP_MAJMIN_VERSION -le 700; then
installPECLModule_actual="$1-2.6.1" 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 fi
;; ;;
uopz) uopz)