在cPanel上安装php-clamav

时间:2016-12-07 16:08:05

标签: php cpanel php-extension

我正在尝试在CentOS 6 cPanel系统上编译和安装php-clamav。 cPanel是安装ClamAV的人,所以它不是默认路径。

ClamAV位于:/usr/local/cpanel/3rdparty/bin

libs位于:/usr/local/cpanel/3rdparty/lib64

安装时我得到了这个:

checking for clamav support... yes, shared
checking for clamav files in default path... not found
configure: error: Please reinstall the clamav distribution

这是我根据文档使用的命令:

./configure --with-clamav

我甚至试过告诉它在哪里找到libs:

./configure --with-clamav --with-libdir=/usr/local/cpanel/3rdparty/lib64

同样的错误。我知道ClamAV已安装并正常工作,因为如果我运行/usr/local/cpanel/3rdparty/bin/clamscan它运行正常。

1 个答案:

答案 0 :(得分:-1)