Sign inSign up

hanslife/hyperf

By hanslife

•Updated over 3 years ago

基于centos7版本的hyperf环境

Image
1

169

hanslife/hyperf repository overview

#注:新扩展安装如下

#php extension:swoole

cd /usr/src

wget https://github.com/swoole/swoole-src/archive/refs/tags/v5.0.2.tar.gz⁠ -O swoole-src-5.0.2.tar.gz

tar -zxvf swoole-src-5.0.2.tar.gz

yum install -y curl-devel

cd swoole-src-5.0.2 && phpize && ./configure --enable-openssl --with-curl && make && make install

echo "extension=swoole.so" >> php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||" \

&& echo "swoole.use_shortname = off" >> php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"

Tag summary

Content type

Image

Digest

sha256:c0a2b6e09…

Size

618.4 MB

Last updated

over 3 years ago

docker pull hanslife/hyperf:centos7-hyperf3.0-php8.1.16-swoole5.0.2