diff --git a/providers/php.rb b/providers/php.rb index 1cf37dc..3faa19e 100644 --- a/providers/php.rb +++ b/providers/php.rb @@ -37,7 +37,7 @@ def whyrun_supported? _file.write_file end - script << %{mv #{node['apache']['dir']}/modules/libphp5.so #{node[:phpenv][:root_path]}/versions/#{new_resource.release}/libexec/libphp5.so;} + script_code << %{mv #{node['apache']['dir']}/modules/libphp5.so #{node[:phpenv][:root_path]}/versions/#{new_resource.release}/libexec/libphp5.so;} end end