configure: error: no acceptable C compiler found in $PATH
通过执行:yum install -y gcc
[root@test240 local]# cd php-7.1.18/
[root@test240 php-7.1.18]# ./configure --prefix=/usr/lib/php71 --enable-fpm --with-mysqli --with-curl --with-pdo_mysql --with-pdo_sqlite --enable-mysqlnd --enable-mbstring --with-gd
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for cc... no
checking for gcc... no
configure: error: in `/usr/local/php-7.1.18':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
[root@test240 php-7.1.18]# yum install -y gcc