'libapache2-mod-suphp' AND 'apache2-suexec' has no installation candidate !

March 13, 2016 955 views
Apache PHP Ubuntu

I get an error when I enter this command

apt-get install apache2 apache2-doc apache2-utils libapache2-mod-php5 php5 php5-common php5-gd php5-mysql php5-imap phpmyadmin php5-cli php5-cgi libapache2-mod-fcgid apache2-suexec php-pear php-auth php5-mcrypt mcrypt php5-imagick imagemagick libapache2-mod-suphp libruby libapache2-mod-python php5-curl php5-intl php5-memcache php5-memcached php5-ming php5-ps php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl memcached snmp


Package libapache2-mod-suphp 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 'apache2-suexec' has no installation candidate
E: Package 'libapache2-mod-suphp' has no installation candidate

No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 15.10
Release: 15.10
Codename: wily

1 Answer

The package libapache2-mod-suphp is not available in Ubuntu 15.10 It was removed from both Debian and Ubuntu due to being unmaintained. You can find more info in the Debian removal request bug report and the message from its developers in 2013 announcing it has reached "End of Life."

The apache2-suexec package has had a name change in Ubuntu and Debian. There are now two flavors available:

  • apache2-suexec-custom
  • apache2-suexec-pristine

The "custom" version includes patches allowing it to be configured with a configuration file. The Debian maintainers note that:

If you do not need non-standard document root or userdir settings, it is recommended that you use the standard suexec helper program from the apache2-suexec-pristine package instead.

Have another answer? Share your knowledge.