comparison modules/website/manifests/php.pp @ 343:0d263bcbbfe9

Make sure PHP-FPM service isn't running We still use mod_php, but Remi's packages now recommend the fpm package, which auto-starts the daemon process.
author IBBoard <dev@ibboard.co.uk>
date Wed, 24 Jun 2020 20:04:43 +0100
parents cd1bcc06f09c
children 3a104df81e44
comparison
equal deleted inserted replaced
342:445aaaf228cc 343:0d263bcbbfe9
28 $packages = [ "php${suffix}-mbstring", "php${suffix}-xml", "php${suffix}-gd" ] 28 $packages = [ "php${suffix}-mbstring", "php${suffix}-xml", "php${suffix}-gd" ]
29 package { $packages: 29 package { $packages:
30 ensure => installed, 30 ensure => installed,
31 tag => 'php-package', 31 tag => 'php-package',
32 } 32 }
33
34 service { 'php-fpm':
35 ensure => 'stopped',
36 enable => 'false',
37 }
33 website::php::extra { $extras: } 38 website::php::extra { $extras: }
34 39
35 file { '/etc/php.d/custom-lockdown.ini': 40 file { '/etc/php.d/custom-lockdown.ini':
36 ensure => present, 41 ensure => present,
37 content => 'allow_url_fopen = \'off\' 42 content => 'allow_url_fopen = \'off\'