chef-cookbook-php icon indicating copy to clipboard operation
chef-cookbook-php copied to clipboard

Session save path dir

Open dangmai opened this issue 12 years ago • 0 comments

Hi,

In the default php.ini.erb template, the session.save_path is set to /var/lib/php/session; on my Ubuntu 12.04 server, that directory does not exist initially. Shouldn't we create that directory beforehand to make sure that everything works with the default settings, something like:

directory '/var/lib/php/session' do
  action :create
  recursive true
  chmod 0777
end

dangmai avatar May 23 '13 00:05 dangmai