Skip to content
This repository has been archived by the owner on Jun 13, 2019. It is now read-only.

Commit

Permalink
Merge pull request #1262 from till/OPS-15568
Browse files Browse the repository at this point in the history
OPS-15568. Installing phpize
  • Loading branch information
RomanCRS committed Jan 11, 2018
2 parents 965be2b + b9ee6da commit be2c604
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions php-redis/attributes/default.rb
@@ -1 +1,2 @@
default['php_redis']['url'] = 'https://github.com/nicolasff/phpredis/archive/master.tar.gz'
default['php_redis']['php']['dev'] = '5.6'
3 changes: 2 additions & 1 deletion php-redis/recipes/default.rb
Expand Up @@ -6,6 +6,7 @@
bash 'make & install phpredis' do
cwd Chef::Config[:file_cache_path]
code <<-EOF
apt-get install php5.6-dev php7.2-dev -y
tar zxf phpredis.tar.gz
cd phpredis-master
phpize
Expand All @@ -15,7 +16,7 @@
not_if 'php -m | grep redis'
end

file "#{node['php']['ext_conf_dir']}/redis.ini" do
file "#{node['php']['extensions']['config_dir']}/redis.ini" do
owner 'root'
group 'root'
mode '0644'
Expand Down

0 comments on commit be2c604

Please sign in to comment.