php安装sg15扩展时出现错误,系统为Ubuntu如下
#11 8.846 ---------- Install sourceguardian ----------
#11 8.857 fetch https://mirrors.ustc.edu.cn/alpine/v3.20/main/x86_64/APKINDEX.tar.gz
#11 9.159 fetch https://mirrors.ustc.edu.cn/alpine/v3.20/community/x86_64/APKINDEX.tar.gz
#11 9.558 (1/1) Installing eudev-libs (3.2.14-r2)
#11 9.587 OK: 287 MiB in 81 packages
#11 9.669 install-php-extensions v.2.2.14
#11 9.669 #StandWithUkraine
#11 12.11 Updating channel “pecl.php.net”
#11 12.94 Channel “pecl.php.net” is up to date
#11 12.96 fetch https://mirrors.ustc.edu.cn/alpine/v3.20/main/x86_64/APKINDEX.tar.gz
#11 15.00 fetch https://mirrors.ustc.edu.cn/alpine/v3.20/community/x86_64/APKINDEX.tar.gz
#11 15.71 v3.20.2-102-g92ec93d770e [Index of /alpine/v3.20/main/]
#11 15.71 v3.20.2-107-gf3034a63705 [https://mirrors.ustc.edu.cn/alpine/v3.20/community]
#11 15.71 OK: 24161 distinct packages available
#11 19.39 ### MARKING PRE-INSTALLED PACKAGES AS IN-USE ###
#11 19.39 # Packages: eudev-libs
#11 19.75 OK: 287 MiB in 81 packages
#11 19.82 ### INSTALLING REQUIRED PACKAGES ###
#11 19.82 # Packages to be kept after installation:
#11 19.82 # Packages to be used only for installation: libmd dpkg dpkg-dev libmagic file re2c
#11 20.18 (1/6) Installing libmd (1.1.0-r0)
#11 20.33 (2/6) Installing dpkg (1.22.6-r1)
#11 20.45 (3/6) Installing dpkg-dev (1.22.6-r1)
#11 20.50 (4/6) Installing libmagic (5.45-r1)
#11 20.55 (5/6) Installing file (5.45-r1)
#11 20.58 (6/6) Installing re2c (3.1-r0)
#11 20.62 Executing busybox-1.36.1-r29.trigger
#11 20.63 OK: 300 MiB in 87 packages
#11 21.14 ### INSTALLING REMOTE MODULE sourceguardian ###
#11 21.15 Downloading SourceGuardian… curl: (56) Recv failure: Connection reset by peer
#11 397.0 unzip: short read
#11 397.0 cat: can’t open ‘/tmp/src/tmp.bkMlpA/version’: No such file or directory
#11 397.0 done (version: )
#11 397.0 Unable to find a SourceGuardian compatible with PHP 8.2.20 or PHP 8.2.
#11 397.0 Available SourceGuardian versions:
#11 397.0 5.3
php 8.2 是吗 我试一下
现在可以了