web-dev-qa-db-ja.com

Debian:php5-suhosinとphp5-apcをインストールできません

新しいDebianサーバーを注文したばかりで、何らかの理由でphp5-suhosinとphp5-apcをインストールできません。何か案は?

apt-get install php5-suhosin
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package php5-suhosin 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-suhosin' has no installation candidate

=========================================

apt-get install php5-apc
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package php5-apc

php -v
PHP 5.4.4-14+deb7u4 (cli) (built: Aug 23 2013 14:37:41)
1
user189078

APCとsuhosinは安定したリポジトリでは利用できません。

あなたはあなたのsources.listに以下を追加することによって、dotdebrepoからそれをインストールすることができます

deb http://packages.dotdeb.org squeeze all
deb-src http://packages.dotdeb.org squeeze all
deb http://packages.dotdeb.org squeeze-php54 all
deb-src http://packages.dotdeb.org squeeze-php54 all

また、PECLを介してphp <5.5のapcをインストールすることもできます:

apt-get install php5-dev gcc make
pecl install apc
2
GioMac

SuhosinはWheezyのリポジトリに追加されていません(参照: http://lists.debian.org/debian-user/2013/04/msg00409.html )が、APCはあり、単にphp-apcと呼ばれています。 。 (参照: http://packages.debian.org/wheezy/php-apc

1
shaun m

Suhosinには独自のリポジトリがあり、これは間違いなく最新のものになります。パッケージを提供するDebianバージョンがある場合でも、インストールの推奨される方法は、それを/apt/sources.list.dに追加することです。

彼らのドキュメントを参照してください: http://suhosin.org/stories/install.html

0
user68729