php安装报错,其中一个小细节:
checking how to run the C++ preprocessor... /lib/cpp
configure: error: in `/usr/local/src/php-7.0.10':
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details解决办法:
yum install glibc-headers
yum install gcc-c++
PHP安装错误解决
本文解决了一个常见的PHP安装问题,即配置检查过程中C++预处理器/lib/cpp出现的错误。通过安装glibc-headers和gcc-c++两个包成功解决了该问题。
2263

被折叠的 条评论
为什么被折叠?



