mirror of
https://github.com/mlocati/docker-php-extension-installer
synced 2025-05-09 08:32:42 +00:00
Install Xdebug 3 on PHP 7.2+, fix installation of Xdebug on PHP 7.1
Test: xdebug
This commit is contained in:
parent
2ba3849f9f
commit
8c39514518
1 changed files with 4 additions and 1 deletions
|
@ -1386,8 +1386,11 @@ 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 -le 701; then
|
||||
installPECLModule_actual="$1-2.9.8"
|
||||
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"
|
||||
phpize
|
||||
./configure --enable-xdebug
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue