Re: [INTERNALS-WIN] PHP clamav on windows
| From: | Ángel González | Date: | Tue, 21 Dec 2010 22:53:22 +0000 |
| Subject: | Re: [INTERNALS-WIN] PHP clamav on windows | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 | Groups: | php.internals.win |
| Request: | Send a blank email to internals-win+get-754@lists.php.net to get a copy of this message | ||
Pierre Joye a écrit:
> hi,
>
> 2010/12/21 Jean-François COUÏC <jfcouic@gmail.com>:
>> Hi Angel,
>>
>> Yes probably. but we need a little bit more performance.
>> At this time, we now evaluate api for some av.
>
> I don't think you will see much performance improvements tho'. The
> resource intensive part being the files analyzes. Exec/system has the
> great advantage of being APIs and licenses independent :)
>
>
> Cheers,
The slow bit of launching the scanner is loading all the signatures.
But using clamdscan instead of clamscan, the work is done by clamd
service so it's quite lightweight.
The overhead of launching a process shouldn't be noticeable. You can always
connect directly to clamd from php, though.