The posting you found is quite old and the script provided for Windows users and in this case, don't think it's needed.
The command I gave you ... which clamscan ... showed if one issued a clamscan command from the command line the system would find what ... returned: /usr/local/bin/clamscan
Sorry 'bout that ... should have been more clear.
clamscan is called for users of the system (all users, including the user under which apache runs) by the path: /usr/bin/clamscan
cd /usr/bin/
ls -l clamscan
and you'll see clamscan in /usr/bin/ is really symlinked to /usr/local/bin/clamscan looks like:
lrwxrwxrwx 1 root root 23 Nov 7 2014 clamscan -> /usr/local/bin/clamscan
note the symlink has different permissions for all 'others'.
Just tested a M26 with clamav scanning turned on ... CentOS but any
linux should be able to do the same. From the terminal run 'top', then
uploaded a file via drag and drop to that M26. You should see clamscan kick in on the top of the top terminal window after the upload has finished.
Setttings:
path to clamscan: /usr/bin/clamscan
See if that works after checking /usr/bin/ for existence of the symlink.
If the symlink doesn't exist for some reason, you can create one as root.
'spirit of sharing', Ken