beetboxvm / beetbox

Pre-provisioned L*MP stack
http://beetbox.rtfd.org
92 stars 19 forks source link

Setting the PHP memory via config #318

Closed lsolesen closed 8 years ago

lsolesen commented 8 years ago

Is it possible to set the PHP memory limit using config.yml somehow?

thom8 commented 8 years ago

Yep you can use the php_memory_limit var for example --> https://github.com/beetboxvm/beetbox/blob/master/.beetbox/config.yml#L18

Any variable inside any role can be overridden in your config.yml so any of these variable can be added for PHP -- https://github.com/geerlingguy/ansible-role-php/blob/master/defaults/main.yml

thom8 commented 8 years ago

You'll just need to be mindful that we already override some of the role defaults in the project -- https://github.com/beetboxvm/beetbox/blob/master/provisioning/ansible/config/profiles/beetbox.config.yml#L155-L219

However, any var in your config.yml will override the project defaults.