I am unable to install php5-fpm from sudo apt-get install php5-fpm
. It says:
No installation candidate.
No .deb repository link available. Does anyone have a solution?
php5-fpm
is available in all supported Ubuntu releases, but is in universe in all of them. Try enabling universe, run sudo apt-get update
and then try sudo apt-get install php5-fpm
again.
php7.0-fpm
in 16.04, and since 16.04 there's also a php-fpm
alias that points to the correct version, so that users don't have to magically know the current version.
– Robie Basak
Oct 16 '16 at 17:14
You haven't stated the Ubuntu version you are using so this is just a wild guess. You are using the Ubuntu version which doesn't yet include php5-fpm package. This could be for various reasons – one most prominent might be the php5 version – php5-fpm was introduced from some point in time.
You have basically two options here:
Upgrade your Ubuntu to more recent version. You can find the availability of php5-fpm here: packages.ubuntu.com/php5-fpm
Upgrade your PHP version to most recent from my PPA, see the answer in another thread here: How do I install PHP 5.4.0?
sudo apt-get update && sudo apt-get upgrade
then try to runsudo apt-get install php5-fpm
. Here is the package link http://packages.ubuntu.com/quantal/php5-fpm – devav2 Oct 22 '12 at 13:08