Hi,
I'm having php 7.1.0 installed via src and am trying to install xhprof extension from RustJason php7 branch but unable to build it. While running make command am getting this error
/opt/xhprof/xhprof/extension/xhprof.c:1470:20: error: ‘zend_execute_data {aka struct _zend_execute_data}’ has no member named ‘called_scope’
if (execute_data ->called_scope != NULL && func != NULL) {
^~
/opt/xhprof/xhprof/extension/xhprof.c:1472:40: error: ‘zend_execute_data {aka struct _zend_execute_data}’ has no member named ‘called_scope’
zend_string *class_name = execute_data->called_scope->name;
^~
Makefile:193: recipe for target 'xhprof.lo' failed
make: *** [xhprof.lo] Error 1
On further investing I found that with php 7.0 in structure _zend_execute_data have zend_class_entry * called_scope which is not present in php 7.1. So is there any way to build xhprof with php 7.1.
One solution is downgrade php 7.1 to 7.0 which is not possible.
So, please help me out in this.
Hi,
I'm having php 7.1.0 installed via src and am trying to install xhprof extension from RustJason php7 branch but unable to build it. While running
makecommand am getting this errorOn further investing I found that with php 7.0 in structure _zend_execute_data have
zend_class_entry * called_scopewhich is not present in php 7.1. So is there any way to build xhprof with php 7.1.One solution is downgrade php 7.1 to 7.0 which is not possible.
So, please help me out in this.