Ubuntu22.04安装NextCloud遇php7.0包不可用问题求助
问题:Ubuntu 22.04安装NextCloud时PHP7.0包不可用
编辑:此前遵循的教程已过时导致操作失败,后续通过视频教程找到了解决方案
我原本按照教程在家庭服务器上安装NextCloud,完成数据库软件安装后,需安装最后一个组件——PHP。但执行教程中的命令时遇到如下错误:
Package php7.0-common is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source
我此前尝试过一些解决方案,但均已过时,因此发布此帖求助。非常感谢您的帮助。
Distributor ID: Ubuntu
Description: Ubuntu 22.04.1 LTS
Release: 22.04
查找解决方案时,我已执行以下命令尝试修复问题:
sudo add-apt-repository ppa:ondrej/php-7.0sudo apt-get install software-properties-common -ysudo apt-get updatesudo apt-cache search php7.0-curl
以及相关问答中的sudo apt-get install php7.0-curl
内容的提问来源于stack exchange,提问作者Maxou
相关产品推荐
相关产品推荐

