Centos 安装PHP 提示configure: error: C preprocessor “/lib/cpp” fails sanity check 解决方案
重新安装gcc 和 kernel-headers
命令如下:
yum reinstall glibc-headers gcc-c++ -y yum install kernel-headers
重新安装gcc 和 kernel-headers
命令如下:
yum reinstall glibc-headers gcc-c++ -y yum install kernel-headers