【发布时间】:2017-07-07 21:07:36
【问题描述】:
我正在尝试设置 phppgadmin,它需要 php5-fpm,但因为我有 ubuntu 16.04,它带有 php 7。所以当我尝试运行 install php5-fpm 时,它给了我以下错误:
sudo apt-get install php5-fpm
Package php5-fpm 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
E: Package 'php5-fpm' has no installation candidate
我不能使用 php7-fpm,因为 phppgadmin 只需要 php5-fpm。当我运行 sudo apt-get install php-fpm 它安装 php7-fpm 。我正在使用 nginx 作为网络服务器。我尝试了很多 ppa,但没有一个对我有用。
【问题讨论】: