pecl install swoole checking how to run the C++ preprocessor… /lib/cppconfigure: error: in `/tmp/pear/temp/pear-build-rootYPmYnu/swoole-4.5.9′:configure: error: C++ preprocessor “/lib/cpp” fails sanity check 解决办法: [root@xx xx]# yum install gcc-c++ glibc-headers