Set opcache.preload_user for PHP 7.4
This commit is contained in:
@@ -8,9 +8,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
|
||||
### v3.9.x - [Unreleased]
|
||||
|
||||
#### Added
|
||||
|
||||
- Set opcache.preload_user for PHP 7.4
|
||||
|
||||
#### Fixed
|
||||
|
||||
- MySQL databases backup when using remote MySQL server
|
||||
- MySQL databases backup when using remote MySQL serverlll
|
||||
|
||||
### v3.11.4 - 2020-01-17
|
||||
|
||||
|
||||
@@ -805,6 +805,7 @@ def post_pref(self, apt_packages, packages, upgrade=False):
|
||||
config['opcache']['opcache.revalidate_freq'] = '5'
|
||||
config['opcache']['opcache.consistency_checks'] = '0'
|
||||
config['opcache']['opcache.validate_timestamps'] = '1'
|
||||
config['opcache']['opcache.preload_user'] = 'www-data'
|
||||
with open('/etc/php/7.4/fpm/php.ini',
|
||||
encoding='utf-8', mode='w') as configfile:
|
||||
Log.debug(self, "Writting php configuration into "
|
||||
|
||||
Reference in New Issue
Block a user