Skip to content

Instantly share code, notes, and snippets.

@vincentchalamon
Created August 29, 2019 13:06
Show Gist options
  • Save vincentchalamon/49ebdc18015c1a2bdfa13a35e6cf04f4 to your computer and use it in GitHub Desktop.
Save vincentchalamon/49ebdc18015c1a2bdfa13a35e6cf04f4 to your computer and use it in GitHub Desktop.
liip_monitor:
# enabling the controller requires that `assets` are enabled in the framework bundle
enable_controller: false
checks:
php_extensions:
- amqp
- apcu
- curl
- date
- dom
- fileinfo
- hash
- iconv
- intl
- json
- mbstring
- openssl
- pcre
- PDO
- pdo_pgsql
- redis
- reflection
- spl
- tokenizer
- xml
- Zend OPcache
php_version:
'7.3.8': '>='
readable_directory: ['%kernel.cache_dir%', '%kernel.logs_dir%']
writable_directory: ['%kernel.cache_dir%', '%kernel.logs_dir%']
symfony_version: ~
security_advisory:
lock_file: '%kernel.project_dir%/composer.lock'
php_flags:
session.auto_start: false
short_open_tag: false
expressions:
opcache:
label: OPcache
warning_expression: ini('opcache.revalidate_freq') > 0
critical_expression: ini('opcache.enable')
warning_message: OPcache not optimized for production
critical_message: OPcache not enabled
date.timezone:
label: Date Timezone
warning_expression: ini('date.timezone') == 'Europe/Paris'
warning_message: PHP parameter date.timezone should be set to Europe/Paris
redis:
session:
dsn: 'redis://%redis_host%'
doctrine_dbal: default
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment