Merge pull request #186 from mlocati/xdebug-3

Updates for new xdebug version
pull/188/head 1.0.3
Michele Locati 2020-11-25 19:27:02 +01:00 committed by GitHub
commit 4157d994c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -1386,8 +1386,11 @@ 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 -le 701; then
installPECLModule_actual="$1-2.9.8"
elif test $PHP_MAJMIN_VERSION -ge 800; then elif test $PHP_MAJMIN_VERSION -ge 800; then
installPECLModule_src="$(getPackageSource https://codeload.github.com/xdebug/xdebug/tar.gz/master)" # Workaround for picke problem - see https://github.com/FriendsOfPHP/pickle/issues/188 and https://github.com/FriendsOfPHP/pickle/issues/191
installPECLModule_src="$(getPackageSource https://codeload.github.com/xdebug/xdebug/tar.gz/3.0.0)"
cd -- "$installPECLModule_src" cd -- "$installPECLModule_src"
phpize phpize
./configure --enable-xdebug ./configure --enable-xdebug