yevgenko / cookbook-php-fpm

Installs/Configures php-fpm
http://community.opscode.com/cookbooks/php-fpm
Apache License 2.0
68 stars 117 forks source link

Ubuntu 16.04 - No candidate version available for php5-fpm #93

Closed freedev closed 7 years ago

freedev commented 7 years ago

Moving from ubuntu 14.04 to 16.04 now the Vagrant provisioning of "recipe[php-fpm::default]" raise this exception:

Chef::Exceptions::Package: apt_package[php5-fpm] (php-fpm::install line 34) had an error: Chef::Exceptions::Package: No candidate version available for php5-fpm

If you need I can post the entire stacktrace.

lowlevl commented 7 years ago

php5 is deprecated in Ubuntu 16.04, however you could do this :

sudo add-apt-repository ppa:ondrej/php
sudo apt update
sudo apt install php5.6-fpm

for php5.6.

lowlevl commented 7 years ago

@freedev

hrak commented 7 years ago

This problem should be solved with the recent merge of PR #83

yevgenko commented 7 years ago

thanks for pointing this out @hrak, closing for now. @freedev if it still an issue, just let me know, and thank you for reporting!