我来过这里http://www.howtoforge.com/using-php5-fpm-with-apache2-on-ubuntu-12.10和这里http://www.versatilewebsolutions.com/blog/2012/11/installing-apache-2-with-php-fastcgi-on-ubuntu-12-10.html尝试在 12.10 上安装 fastcgi,但我一直收到
Package libapache2-mod-fastcgi 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 'libapache2-mod-fastcgi' has no installation candidate
我看到了这个https://serverfault.com/questions/395139/cant-install-fastcgi-ubuntu-server-package-libapache2-mod-fastcgi-is-not-availa但是我/etc/apt/sources.list
说
deb http://archive.ubuntu.com/ubuntu quantal main restricted universe
deb http://archive.ubuntu.com/ubuntu quantal-updates main restricted universe
deb http://security.ubuntu.com/ubuntu quantal-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu quantal partner
请帮忙。提前致谢!
答案1
只需删除restricted
并添加即可multiverse
。
完成之后,只要按照说明操作即可。