开发者社区 > 云效DevOps > 正文

执行阿里云云效php8.0 composer bcmath扩展安装命令,报错,应该如何解决?

参考: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扩展安装命令,报错,应该如何解决?

cc1a10c27e9db3631f23831783a42563.png [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

展开
收起
2401。 2023-06-26 20:12:24 104 0
0 条回答
写回答
取消 提交回答

云效,企业级一站式研发协同平台,数十万企业都在用。支持公共云、专有云和混合云多种部署形态,通过云原生新技术和研发新模式,助力创新创业和数字化转型企业快速实现研发敏捷和组织敏捷,打造“双敏”组织,实现多倍效能提升。

热门讨论

热门文章

相关电子书

更多
阿里云栖开发者沙龙PHP技术专场-深入浅出网络编程与swoole内核-吴镇宇 立即下载
PHP安全开发:从白帽角度做安全 立即下载
PHP 2017.北京 全球开发者大会——高可用的PHP 立即下载