-if node[:lsb][:release].to_f >= 16.04
- link "/etc/php/7.0/apache2/conf.d/20-wikidiff2.ini" do
- to "../../mods-available/wikidiff2.ini"
- end
-
- apache_module "php7.0"
-else
- link "/etc/php5/apache2/conf.d/20-wikidiff2.ini" do
- to "../../mods-available/wikidiff2.ini"
- end
-
- apache_module "php5"
+link "/etc/php/#{node[:php][:version]}/fpm/conf.d/20-wikidiff2.ini" do
+ to "../../mods-available/wikidiff2.ini"