Skip to content
Snippets Groups Projects
Commit c301a6c9 authored by Stefan Galinski's avatar Stefan Galinski :video_game:
Browse files

[FEATURE] Support configurable PHP version

parent 97bec297
No related branches found
No related tags found
No related merge requests found
...@@ -25,11 +25,11 @@ ...@@ -25,11 +25,11 @@
if node['platform_version'] == '16.04' if node['platform_version'] == '16.04'
package 'php-xdebug' package 'php-xdebug'
template '/etc/php/7.0/apache2/conf.d/xdebug.ini' do template '/etc/php/' + node['ubuntu_base']['php_version'] + '/apache2/conf.d/xdebug.ini' do
mode '0644' mode '0644'
end end
template '/etc/php/7.0/cli/conf.d/xdebug.ini' do template '/etc/php/' + node['ubuntu_base']['php_version'] + '/cli/conf.d/xdebug.ini' do
mode '0644' mode '0644'
notifies :restart, 'service[apache2]', :delayed notifies :restart, 'service[apache2]', :delayed
end end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment