Developer Area/Setting up ClamAV
From Mahara Wiki
< Developer AreaRevision as of 12:12, 14 May 2018 by Robertl
To do this on Ubuntu, you can open a terminal and insert
sudo apt-get install clamav
and press enter.
You may also build ClamAV from sources to benefit from better scanning performance.
To update the signatures, you type
on a terminal session and press enter.
In your Mahara you need to specify the path to your install ClamAV program in your config.php file, eg:
$cfg->pathtoclam = '/usr/bin/clamscan';
Then you need to go to Administration -> Configure site -> Security settings and turn on the Virus Checking switch and saving