Take the 2-minute tour ×

I try to use the clamav-extension by following these steps. There weren't any errors, but after restarting apache, no clam-extension is loaded.

php -v

returns no errors.
I've set the extension_dir in php.ini and clamav.so is in there.


is also set.
ClamAV itself is installed and works. Where could I make a mistake?

share|improve this question

1 Answer 1

Have you tried verifying its installed with something like php -i | grep clam ?

Does the clam.so have the correct permissions?

For what it's worth Sebastiaan Stock in the comments of the steps you posted recommended not to run clamav as an extension and instead run it as a daemon to reduce memory. https://help.ubuntu.com/community/ClamAV#Run_ClamAV_as_a_Daemon

share|improve this answer

Your Answer


