宝塔安装PHPmemcached扩展提示configure: error: C preprocessor “/lib/cpp” fails sanity check …

make:*** No targets specified and no makefile found.Stop.”…..

可能原因

没有安装kernel-headers

解决方法yum install kernel-headers