How to reduce Clamav scan frequency

I still can't find the ClamAv Excutable:

Moodle is configured to run clam on file upload, but the path supplied to Clam
AV, /usr/local/bin/freshclam, is invalid.

or

/usr/local/bin/clamdscan, is invalid.

Any ideas would be appreciated.

I finally had to copy clamdscan to the path moodle suggested and made a symlink for clamdscan as follows:

Code:
cp /usr/local/bin/clamdscan /usr/bin/clamdscan
cd /usr/bin/
ln -fs /usr/local/bin/clamdscan clamdscan
ls -l clamdscan

Moodle then did not give any warning messages except that it complained open_basedir restriction was in effect. When I turned off open_basedir, every thing seemed to work as expected. But is there a way to have open_basedir on with the above statedy?

Thanks in advance.

Regards
 
Just to clarify, the main php.ini itself should not have open_basedir turned on..
OBD should only be enalbed on a per-User or per-Domain basis within the apache settings.
For most cases, DA will control this for you via Admin Level -> Php SafeMode Config

John
 
Back
Top