it return the below errors :
[root@oppo-www-20200806152015-ctbg php-xhprof-extension]# make
/bin/sh /data/php-xhprof-extension/libtool --mode=compile cc -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/data/php-xhprof-extension -DPHP_ATOM_INC -I/data/php-xhprof-extension/include -I/data/php-xhprof-extension/main -I/data/php-xhprof-extension -I/usr/local/php7/include/php -I/usr/local/php7/include/php/main -I/usr/local/php7/include/php/TSRM -I/usr/local/php7/include/php/Zend -I/usr/local/php7/include/php/ext -I/usr/local/php7/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /data/php-xhprof-extension/tideways_xhprof.c -o tideways_xhprof.lo
mkdir .libs
cc -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/data/php-xhprof-extension -DPHP_ATOM_INC -I/data/php-xhprof-extension/include -I/data/php-xhprof-extension/main -I/data/php-xhprof-extension -I/usr/local/php7/include/php -I/usr/local/php7/include/php/main -I/usr/local/php7/include/php/TSRM -I/usr/local/php7/include/php/Zend -I/usr/local/php7/include/php/ext -I/usr/local/php7/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /data/php-xhprof-extension/tideways_xhprof.c -fPIC -DPIC -o .libs/tideways_xhprof.o
/data/php-xhprof-extension/tideways_xhprof.c: In function ‘zm_activate_tideways_xhprof’:
/data/php-xhprof-extension/tideways_xhprof.c:146:51: error: ‘ZEND_COMPILE_NO_BUILTINS’ undeclared (first use in this function)
CG(compiler_options) = CG(compiler_options) | ZEND_COMPILE_NO_BUILTINS;
^
/data/php-xhprof-extension/tideways_xhprof.c:146:51: note: each undeclared identifier is reported only once for each function it appears in
php 7.0.6 when i run these : git clone https://github.com/tideways/php-xhprof-extension.git cd php-xhprof-extension phpize ./configure make
it return the below errors : [root@oppo-www-20200806152015-ctbg php-xhprof-extension]# make /bin/sh /data/php-xhprof-extension/libtool --mode=compile cc -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/data/php-xhprof-extension -DPHP_ATOM_INC -I/data/php-xhprof-extension/include -I/data/php-xhprof-extension/main -I/data/php-xhprof-extension -I/usr/local/php7/include/php -I/usr/local/php7/include/php/main -I/usr/local/php7/include/php/TSRM -I/usr/local/php7/include/php/Zend -I/usr/local/php7/include/php/ext -I/usr/local/php7/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /data/php-xhprof-extension/tideways_xhprof.c -o tideways_xhprof.lo mkdir .libs cc -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/data/php-xhprof-extension -DPHP_ATOM_INC -I/data/php-xhprof-extension/include -I/data/php-xhprof-extension/main -I/data/php-xhprof-extension -I/usr/local/php7/include/php -I/usr/local/php7/include/php/main -I/usr/local/php7/include/php/TSRM -I/usr/local/php7/include/php/Zend -I/usr/local/php7/include/php/ext -I/usr/local/php7/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /data/php-xhprof-extension/tideways_xhprof.c -fPIC -DPIC -o .libs/tideways_xhprof.o /data/php-xhprof-extension/tideways_xhprof.c: In function ‘zm_activate_tideways_xhprof’: /data/php-xhprof-extension/tideways_xhprof.c:146:51: error: ‘ZEND_COMPILE_NO_BUILTINS’ undeclared (first use in this function) CG(compiler_options) = CG(compiler_options) | ZEND_COMPILE_NO_BUILTINS; ^ /data/php-xhprof-extension/tideways_xhprof.c:146:51: note: each undeclared identifier is reported only once for each function it appears in
hope for your relpy ,thanks!@Danack@beberlei