mirror of
https://github.com/danog/docker-php-extension-installer.git
synced 2024-12-02 17:38:21 +01:00
Merge pull request #345 from mlocati/opencensus-php8.0
Opencensus now supports PHP 8.0
This commit is contained in:
commit
9762aa8f41
@ -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
Block a user