gpt4 book ai didi

linux - 在 Debian Jessie 上安装 LAMP Stack - 找不到软件包

转载 作者:太空宇宙 更新时间:2023-11-04 10:04:44 24 4
gpt4 key购买 nike

我正在尝试在我的 debian jessie 服务器上安装 LAMP 堆栈。

enter image description here

我尝试了以下方法来安装 LAMP:

apt install apache2 libapache2-mod-php7.0 php7.0 php7.0-gd php7.0-opcache php7.0-json php7.0-mbstring php7.0-xml php7.0-mcrypt php7.0-cli php7.0-curl php7.0-zip php7.0-intl php7.0-soap php7.0-tidy

但是,我得到:

enter image description here

对于找不到包的原因有什么建议吗?

感谢您的回复!

最佳答案

搜索包是否存在 aptitude search "libapache2-mod-php*"

不确定 debian,但 7.0 在 Ubuntu 17.x 中不可用。请尝试安装 7.2 或 7.1。确保在开始之前apt update

尝试用 apt 搜索的结果替换 7.0。或者您可以放弃版本号并安装。

关于linux - 在 Debian Jessie 上安装 LAMP Stack - 找不到软件包,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53350603/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com