Hi, I've use the clamav mod for PHP5 for a while, but was pretty disappointed. Apache reload times (envolving clam database loading) were ridiculous. I ended up with a ~50 liner, which connects to a running clamd. Unfortunately I can't post source here, but google should be your friend. The protocol was pretty easy to implement.
Kind regards Thomas Lamy -- Thomas Lamy Ingolstadt Online GmbH thomas.l...@in-online.net Fon: +49 841 885 212-0 Fax: +49 841 885 212-29 Web: www.in-online.net Pflichtangaben lt. §35a GmbHG: Ingolstadt Online GmbH Münchener Strasse 71 85051 Ingolstadt Geschäftsführer Gerhard Mayer HR Ingolstadt Nr. 1950 Steuernummer 124/129/30752 Umsatzsteuer-ID: DE179321207 > -----Original Message----- > From: clamav-users-boun...@lists.clamav.net > [mailto:clamav-users-boun...@lists.clamav.net] On Behalf Of > Sander Marechal > Sent: Tuesday, May 26, 2009 12:12 PM > To: ClamAV users ML > Subject: [Clamav-users] Using ClamAV from PHP > > Hi all, > > Is there a way to use ClamAV from PHP? I would like to scan uploaded > files with ClamAV. > > The ClamAV library page [1] lists two libraries for PHP both both are > dead, their websites gone, they fail to build from source and pretty > much every Linux distribution has removed those packages. > > [1] http://www.clamav.net/download/third-party-tools/3rdparty-library > > Any alternatives? Thanks in advance, > > -- > Sander Marechal > _______________________________________________ > Help us build a comprehensive ClamAV guide: visit > http://wiki.clamav.net > http://www.clamav.net/support/ml > > _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml