I've tried to install gmp on php 7.3, 7.2, 7.1 and even 7.0, but every time I got this error:
正在选择下载节点...
--2019-07-19 19:07:47-- http://128.1.164.196/install/3/gmp.sh
Connecting to 128.1.164.196:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3149 (3.1K) [application/octet-stream]
Saving to: 'gmp.sh'
ok... 100% 5.69M=0.001s
2019-07-19 19:07:48 (5.69 MB/s) - 'gmp.sh' saved [3149/3149]
正在选择下载节点...
Configuring for:
PHP Api Version: 20151012
Zend Module Api No: 20151012
Zend Extension Api No: 320151012
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 for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
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 PHP prefix... /www/server/php/70
checking for PHP includes... -I/www/server/php/70/include/php -I/www/server/php/70/include/php/main -I/www/server/php/70/include/php/TSRM -I/www/server/php/70/include/php/Zend -I/www/server/php/70/include/php/ext -I/www/server/php/70/include/php/ext/date/lib
checking for PHP extension directory... /www/server/php/70/lib/php/extensions/no-debug-non-zts-20151012
checking for PHP installed headers prefix... /www/server/php/70/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... re2c
checking for re2c version... 0.16 (ok)
checking for gawk... gawk
checking for GNU MP support... yes, shared
configure: error: Unable to locate gmp.h
make: *** No targets specified and no makefile found. Stop.
error