Support opencensus for PHP 7.3 and 7.4
parent
868e5689a8
commit
2ca480b37e
|
@ -28,7 +28,7 @@ mysql 5.6
|
||||||
mysqli 5.6 7.0 7.1 7.2 7.3 7.4
|
mysqli 5.6 7.0 7.1 7.2 7.3 7.4
|
||||||
odbc 5.6 7.0 7.1 7.2 7.3 7.4
|
odbc 5.6 7.0 7.1 7.2 7.3 7.4
|
||||||
opcache 5.6 7.0 7.1 7.2 7.3 7.4
|
opcache 5.6 7.0 7.1 7.2 7.3 7.4
|
||||||
opencensus 7.0 7.1 7.2
|
opencensus 7.0 7.1 7.2 7.3 7.4
|
||||||
parallel 7.1 7.2 7.3 7.4
|
parallel 7.1 7.2 7.3 7.4
|
||||||
pcntl 5.6 7.0 7.1 7.2 7.3 7.4
|
pcntl 5.6 7.0 7.1 7.2 7.3 7.4
|
||||||
pcov 7.0 7.1 7.2 7.3 7.4
|
pcov 7.0 7.1 7.2 7.3 7.4
|
||||||
|
|
|
@ -813,6 +813,7 @@ installPECLModule () {
|
||||||
printf '### INSTALLING PECL MODULE %s ###\n' "$2"
|
printf '### INSTALLING PECL MODULE %s ###\n' "$2"
|
||||||
installPECLModule_actual="$2"
|
installPECLModule_actual="$2"
|
||||||
installPECLModule_stdin='\n'
|
installPECLModule_stdin='\n'
|
||||||
|
installPECLModule_manuallyInstalled=0
|
||||||
case "$2" in
|
case "$2" in
|
||||||
apcu)
|
apcu)
|
||||||
if test $1 -le 506; then
|
if test $1 -le 506; then
|
||||||
|
@ -856,7 +857,18 @@ installPECLModule () {
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
opencensus)
|
opencensus)
|
||||||
|
if test $1 -le 702; then
|
||||||
installPECLModule_actual="$2-alpha"
|
installPECLModule_actual="$2-alpha"
|
||||||
|
else
|
||||||
|
installPECLModule_manuallyInstalled=1
|
||||||
|
installPECLModule_src="$(getPackageSource https://pecl.php.net/get/opencensus)"
|
||||||
|
cd "$installPECLModule_src"/opencensus-*
|
||||||
|
find . -name '*.c' -type f -exec sed -i 's/\bZVAL_DESTRUCTOR\b/zval_dtor/g' {} +
|
||||||
|
phpize
|
||||||
|
./configure
|
||||||
|
make install
|
||||||
|
cd -
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
parallel)
|
parallel)
|
||||||
if test $1 -le 701; then
|
if test $1 -le 701; then
|
||||||
|
@ -932,10 +944,12 @@ installPECLModule () {
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
if test $installPECLModule_manuallyInstalled -eq 0; then
|
||||||
if test "$2" != "$installPECLModule_actual"; then
|
if test "$2" != "$installPECLModule_actual"; then
|
||||||
printf ' (installing version %s)\n' "$installPECLModule_actual"
|
printf ' (installing version %s)\n' "$installPECLModule_actual"
|
||||||
fi
|
fi
|
||||||
printf "$installPECLModule_stdin" | pecl install "$installPECLModule_actual"
|
printf "$installPECLModule_stdin" | pecl install "$installPECLModule_actual"
|
||||||
|
fi
|
||||||
docker-php-ext-enable "$2"
|
docker-php-ext-enable "$2"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue