参考:https://packages.sury.org/php/README.txt
apt-get update apt-get -y install lsb-release ca-certificates curl curl -sSLo /usr/share/keyrings/deb.sury.org-php.gpg https://packages.sury.org/php/apt.gpg sh -c ‘echo “deb [signed-by=/usr/share/keyrings/deb.sury.org-php.gpg] https://packages.sury.org/php/ $(lsb_release -sc) main” > /etc/apt/sources.list.d/php.list’ apt-get update
apt install -y php8.0-bcmath exit 0 执行阿里云云效php8.0 composer bcmath扩展安装命令,报错,应该如何解决?
[10:55:08] [User Command] + apt install -y php8.0-bcmath[10:55:08] [10:55:08] WARNING: apt does not have a stable CLI interface. Use with caution in scripts.[10:55:08] [10:55:09] Reading package lists…[10:55:09] Building dependency tree…[10:55:09] Reading state information…[10:55:09] Package php8.0-bcmath is not available, but is referred to by another package.[10:55:09] This may mean that the package is missing, has been obsoleted, or[10:55:09] is only available from another source[10:55:09] [10:55:09] E: Package ‘php8.0-bcmath’ has no installation candidate