我正在尝试在CentOS 6 Cpanel系统上编译和安装php-clamav
。CPanel是安装Clamav的人,因此它不在默认路径上。
Clamav位于:/usr/local/cpanel/3rdparty/bin
libs at: /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
,它运行良好。
尝试在此处查找默认路径的帮助:https://www.experts-exchange.com/questions/28383931/28383931/problem-configuring-configuring-clamav-clamav-with-with-with-php-php-clamav。html