Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

extension=clamav.so

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

 
discard

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.