FAQ | This is a LIVE service | Changelog

Skip to content

Install ClamAV & set default file upload limit to 5MB

  1. DTB-141: Add the ClamAV module to the codebase.

On Pantheon environments, the module will work automatically using the default settings: https://docs.pantheon.io/clamav

For local development using DDEV, install and configure as follows:

# For DDEV v1.23.5 or above run:
ddev add-on get fwust/ddev-clamav

# For earlier versions of DDEV run:
ddev get fwust/ddev-clamavddev restart

# Then restart your project:
ddev restart

# Ensure host and port settings are correct:
ddev drush variable-set clamav_daemon_host clamav
ddev drush variable-set clamav_daemon_port 3310
  1. DTB-152: Set the default file upload limit to 5MB Note that the limit can be increased on a site-by-site basis in future via /admin/config/media/file-settings, or with the following command:
terminus drush [SITE].[ENV] -- variable-set file_entity_max_filesize '25 MB'
Edited by Jamie Pearce

Merge request reports

Loading