您的位置主页 > 编程专区 > Php > 让php支持上传文件杀毒

让php支持上传文件杀毒

2009-12-10    文章来源:互联网    浏览次数:1036     分享文章

Re: PHP ClamAV Lib Matthew Seaman Thu Jan 03 18:00:34 2008

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

jekillen wrote:
> Hello:
> I am looking for PHP ClamAV Lib
> in ports and I do not know of hand
> where to find it.  I did not find it in
> /usr/ports/security. And if it exists in
> ports, what would it be called for a
> find command?
> My aim is to use it for scanning files
> uploaded to web sites in php scripts.
> I installed ClamAV,  Amavisd-new,
> and Cyrus-sasl-saslauthd
> from /usr/ports/security.
> FreeBSD v 6.2
> Thanks in advance
> Jeff K

Unfortunately it seems that you are not in luck.  There does
not appear to be a PHP related ClamAV module in the ports.  Apache,
Perl or python, yes.  PHP, no.

happy-idiot-talk:/usr/ports:% make search name=clamav display=name,path 
Port:   p5-Mail-ClamAV-0.20
Path:   /usr/ports/mail/p5-Mail-ClamAV

Port:   clamav-0.91.2_1
Path:   /usr/ports/security/clamav

Port:   clamav-devel-20071011
Path:   /usr/ports/security/clamav-devel

Port:   p5-File-Scan-ClamAV-1.8_1
Path:   /usr/ports/security/p5-File-Scan-ClamAV

Port:   py25-clamav-0.4.0_1
Path:   /usr/ports/security/py-clamav

Port:   mod_clamav-0.21_1
Path:   /usr/ports/www/mod_clamav

Perhaps you could view this as your chance to contribute something
back to the project.  Take a gander at the Porter's Handbook --
http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/index.html
and look at some of the proir art already in the ports system and
see if you can't put together a pecl-clamav or pear-ClamAV port.

Submit it via send-pr so that all can share.

        Cheers,

        Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
                                                  Kent, CT11 9PW
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHUahK8Mjk52CukIwRCGhQAJ4zey/5RU44g2sYGpSg12GYJeSITACePjOH
UQOX7vLvDVuk5nRchPyWBR4=
=gW4S
-----END PGP SIGNATURE-----
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

 

文章评论(查看全部)

昵 称 *
电子邮箱 *
网 址      7 + 7 = ?