comparison modules/website/manifests/php.pp @ 169:4efaba4fbe94 puppet-3.6

Expand PHP OpCache config in line with NextCloud recommendations
author IBBoard <dev@ibboard.co.uk>
date Fri, 01 Sep 2017 11:36:16 +0100
parents af30a5eb468f
children 89cd717361fd
comparison
equal deleted inserted replaced
168:b13e0de66b54 169:4efaba4fbe94
40 notify => Service['httpd'], 40 notify => Service['httpd'],
41 require => Package["php${suffix}"], 41 require => Package["php${suffix}"],
42 } 42 }
43 file { '/etc/php.d/opcache.ini': 43 file { '/etc/php.d/opcache.ini':
44 ensure => present, 44 ensure => present,
45 content => 'zend_extension=/usr/lib64/php/modules/opcache.so 45 source => 'puppet:///modules/website/opcache.ini',
46 opcache.memory_consumption=64',
47 } 46 }
48 } 47 }
49 } 48 }