hprose/hprose-php

pecl install hprose 报错

Aaron-QL opened this issue · 1 comments

安装hprose扩展时报错,下面是我的docker环境,貌似7.1以上的php版本安装都会报这个错
`FROM php:7.3

ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

install PHP extensions

RUN apt-get update
&& apt-get install -y
vim
git
zip
wget
libz-dev
libssl-dev
libpcre3-dev
&& apt-get clean
&& apt-get autoremove
&& docker-php-ext-install bcmath
&& docker-php-ext-install sockets
&& docker-php-ext-install pdo_mysql
&& pecl install -o -f redis
&& docker-php-ext-enable redis
&& rm -rf /tmp/*

Swoole extension

RUN wget https://github.com/swoole/swoole-src/archive/v4.3.3.tar.gz -O swoole.tar.gz
&& mkdir -p swoole
&& tar -xf swoole.tar.gz -C swoole --strip-components=1
&& rm swoole.tar.gz
&& (
cd swoole
&& phpize
&& ./configure --enable-async-redis --enable-mysqlnd --enable-openssl --enable-http2
&& make -j$(nproc)
&& make install
)
&& rm -r swoole
&& docker-php-ext-enable swoole

Composer

RUN curl -sS https://getcomposer.org/installer | php
&& mv composer.phar /usr/local/bin/composer
&& composer config -g repo.packagist composer https://packagist.phpcomposer.com
&& composer self-update --clean-backups`

这是我遇到的报错信息