Ubuntu 16.04 comes with php7 so php5 is not supported.
I have done the apt-get update & apt-get upgrade. E: Package 'libapache2-mod-php5' has no installation candidate. E: Package 'php5' has no installation candidate. from another source E: Package php5 has no installation candidate.
apt install php-pear php-dev libmcrypt-dev -y pecl channel-update pecl.
> If you're not sure what the problem is, try to get help in iRedMail This may mean that the package is missing, has been obsoleted, or. Ketika saya mencoba menginstal php5 di Ubuntu 16.04 dengan menggunakan kode berikut. What is Package Bsdmainutils Has No Installation Candidate. > Installation failed, please check the terminal output. After little more digging i have manage to partially access admin page (only section names on white page). Package php-apc is not available, but is referred to by another package.Į: Package 'php5-gd' has no installation candidateĮ: Package 'php5-mcrypt' has no installation candidateĮ: Package 'php-apc' has no installation candidateĮ: Package 'php5-mysql' has no installation candidateĮ: Package 'libapache2-mod-php5' has no installation candidate was enough to get the admin page up and running for me. Package php5-gd is not available, but is referred to by another package. E: Package 'apache2-mpm-prefork' has no installation candidate E: Package 'apache2. Package php5-mysql is not available, but is referred to by another package.
Package php5-mcrypt is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or If you want to use Debian packages instead of the PHP provided by this image, then you should use FROM debian:xxx instead. Package libapache2-mod-php5 is not available, but is referred to by another package. When you use FROM php:5.6-xxx, the resulting image already has PHP 5.6 installed - theres no need to install it. Installing package(s): postfix postfix-pcre mysql-server mysql-client postfix-mysql libdbd-mysql-perl libaprutil1-dbd-mysql php5-imap php5-json php5-gd php5-mcrypt php5-curl mcrypt php-apc php5-intl php5-mysql libapache2-mod-php5 dovecot-imapd dovecot-pop3d dovecot-lmtpd dovecot-managesieved dovecot-sieve dovecot-mysql amavisd-new libcrypt-openssl-rsa-perl libmail-dkim-perl clamav-freshclam clamav-daemon spamassassin altermime arj zoo nomarch cpio lzop cabextract p7zip rpm ripole libmail-spf-perl unrar-free php-pear php5-intl python-sqlalchemy python-dnspython python-mysqldb python-jinja2 python-netifaces python-webpy python-beautifulsoup python-lxml libapache2-mod-wsgi python-bcrypt awstats fail2ban bzip2 acl patch cron tofrodos logwatch unzip bsdutils