Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 is in there.

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

share|improve this question

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

Does the 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.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.