Opencensus now supports PHP 8.0
parent
6ea57d935c
commit
791108ff72
|
@ -50,7 +50,7 @@ oauth 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0
|
|||
oci8 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0
|
||||
odbc 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0
|
||||
opcache 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0
|
||||
opencensus 7.0 7.1 7.2 7.3 7.4
|
||||
opencensus 7.0 7.1 7.2 7.3 7.4 8.0
|
||||
parallel 7.1 7.2 7.3 7.4
|
||||
pcntl 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0
|
||||
pcov 7.0 7.1 7.2 7.3 7.4 8.0
|
||||
|
|
|
@ -1811,23 +1811,8 @@ installRemoteModule() {
|
|||
fi
|
||||
;;
|
||||
opencensus)
|
||||
if test $PHP_MAJMIN_VERSION -le 702; then
|
||||
if test -z "$installRemoteModule_version"; then
|
||||
installRemoteModule_version=alpha
|
||||
fi
|
||||
else
|
||||
installRemoteModule_manuallyInstalled=1
|
||||
if test -z "$installRemoteModule_version"; then
|
||||
installRemoteModule_src="$(getPackageSource https://pecl.php.net/get/opencensus)"
|
||||
else
|
||||
installRemoteModule_src="$(getPackageSource https://pecl.php.net/get/opencensus-$installRemoteModule_version)"
|
||||
fi
|
||||
cd "$installRemoteModule_src"/opencensus-*
|
||||
find . -name '*.c' -type f -exec sed -i 's/\bZVAL_DESTRUCTOR\b/zval_dtor/g' {} +
|
||||
phpize
|
||||
./configure
|
||||
make install
|
||||
cd - >/dev/null
|
||||
if test -z "$installRemoteModule_version"; then
|
||||
installRemoteModule_version=alpha
|
||||
fi
|
||||
;;
|
||||
parallel)
|
||||
|
|
Loading…
Reference in New Issue