问题

使用宝塔面板安装php7.2扩展fileinfo时中断,报错:

configure: error: C preprocessor "/lib/cpp" fails sanity check

原因:

应自编译升级内核,缺少相应组件

缺少内核组件kernel-ml-headers-***.elrepo.x86_64

解决:

查找:

yum --disablerepo="*" --enablerepo="elrepo-kernel" list available

安装:

yum --enablerepo=elrepo-kernel install kernel-ml-headers

原文链接

Last modification:June 16, 2020
如果觉得我的文章对你有用,请随意赞赏