我有“Ubuntu14.04.2LTS”操作系统,并试图使用命令安装PHP7:
sudo apt-get install php-7.0获取错误消息:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package php-7.0
E: Couldn't find any package by regex 'php-7.0'
sudo apt-get install php7.0
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package php7.0
E: Couldn't find any package by regex 'php7.0'如何修理请告知。
发布于 2016-01-02 10:53:36
PHP 7在标准Ubuntu存储库中不适用于Ubuntu信任库(2016-01-02)。
您可以使用PPA ppa:ondrej/php
sudo apt-add-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install php7.0https://askubuntu.com/questions/715944
复制相似问题