Also I tried to update and upgrade using following command. the outbreak considering its novelty and there being no known cure. an object or set of objects wrapped in paper, usually in order to be sent by post: 2. Ever since the virus spread at the end of 2019, it has been morphing and rapidly. an object or set of objects wrapped in paper, usually in order to be sent by post: 2.
#Error php5 has no installation candidate how to#
You can also take a look on How to secure your site with Let’s Encrypt, it can help you set up SSL if you want. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package postfix has no installation candidate E: Package ntpdate has no installation candidate. you have php7 installed but you are trying to install a package of php5 that is the problem. How to install LAMP stack on Ubuntu 16.04.Īfter that you should follow Magento tutotrial to install it. Note of selected option - LAMP on 16.04Īfter that find some tutorial and follow it to install Magento.įor example you can follow Magentos v2 tutorial or Magentos CE v1 tutorial.ĭigitalOcean does not have tutorial for Ubuntu 16.04, instead they have for Ubuntu 14.04, which you can take some notes from here.īut if you want to build from ground, without any One-Click app, I can recommend some of DigitalOcean tutorials: Ubuntu users can visit our tutorial for installing PHP 7 on Ubuntu.This tutorial is for the Debian 9 Stretch users to install PHP 7.4, 7.3, 7.2, 7.1 or 5.6 on their system. Note: It says it runs on Ubuntu 14.04 on link, but is updated for Ubuntu 16.04! You can chose your variant on droplet creation. The PHP 7.4 is the latest version available for installation on Debian 9 Stretch Linux machine. It will install whole LAMP stack (Apache, MySQL, PHP7) atop of Ubuntu 16.04. Done > Package php5-json is a virtual package provided by: > php5-common 5.4.4-15 Not candidate version > E: Package 'php5-json' has no installation candidate > dpkg -lgrep php5-common > ii php5-common 5.5.0rc2+dfsg-2 > sparc Common files for packages built from the php5 source > php -version > PHP 5.5.0RC2 (cli) (built.
In case you want to go with Ubuntu 16.04, you can use LAMP One-Click App. Only problem you have if you really want to use Ubuntu 16.04 as this One-Click is not updated for it. Done Package php5-curl is not available, but is referred to by another package. Magento One-Click App will setup Magento atop of Ubuntu 14.04, LAMP (Apache, PHP5, MySQL).
There shines DigitalOcean One-Click Apps.ĭigitalOcean One-Click Apps will automatically create you droplet with needed applications, so you will not have any problem with it.