Permalink
Browse files

Special case: xdebug

  • Loading branch information...
till committed Aug 25, 2012
1 parent b63b3a2 commit b526dd3ad0431107de85cbf87227c2950f57cd83
Showing with 8 additions and 4 deletions.
  1. +8 −4 php/providers/pecl.rb
View
@@ -16,10 +16,14 @@
package = new_resource.name
ini_file = "/usr/local/etc/php/#{new_resource.name}.ini"
- execute "enable PHP extension #{package}" do
- command "echo 'extension=#{package}.so' >> #{ini_file}"
- not_if do
- ::File.exists?(ini_file)
+ if package == "xdebug"
+ ::Chef::Log.debug("Need to use zend_extension")
+ else
+ execute "enable PHP extension #{package}" do
+ command "echo 'extension=#{package}.so' >> #{ini_file}"
+ not_if do
+ ::File.exists?(ini_file)
+ end
end
end
end

0 comments on commit b526dd3

Please sign in to comment.