Debian: can not install php5-suhosin and php5-apc
9,321
Solution 1
APC and suhosin are not available in stable repository.
you can install it from dotdeb repo, by adding following to your sources.list
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
also, you can install apc for php < 5.5 via PECL:
apt-get install php5-dev gcc make
pecl install apc
Solution 2
Suhosin hasn't been added to Wheezy's repositories (see: http://lists.debian.org/debian-user/2013/04/msg00409.html) but APC is there, it's just called php-apc
. (see: http://packages.debian.org/wheezy/php-apc)
Author by
user189078
Updated on September 18, 2022Comments
-
user189078 over 1 year
Just ordered a new Debian server and for some reason can not install php5-suhosin and php5-apc. Any ideas?
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)
-
Michael Hampton over 10 yearsA very quick search shows it's not available for Wheezy, which his question indicates he's using.