Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failure with PHP 7.3 #73

Open
hseagle2015 opened this issue Aug 14, 2019 · 0 comments
Open

Build failure with PHP 7.3 #73

hseagle2015 opened this issue Aug 14, 2019 · 0 comments

Comments

@hseagle2015
Copy link

Compiling php-apm on CentOS 7 server with PHP 7.3.7 (installed from IUS yum repo) is failing. Here are steps to reproduce the problem:

phpize
 ./configure --without-sqlite3 --without-mysql --disable-socket

And here's the error I'm getting:

/bin/sh /home/user/APM/libtool --mode=compile cc  -I. -I/home/user/APM -DPHP_ATOM_INC -I/home/user/APM/include -I/home/user/APM/main -I/home/user/APM -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /home/user/APM/backtrace.c -o backtrace.lo 
libtool: compile:  cc -I. -I/home/user/APM -DPHP_ATOM_INC -I/home/user/APM/include -I/home/user/APM/main -I/home/user/APM -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /home/user/APM/backtrace.c  -fPIC -DPIC -o .libs/backtrace.o
/home/user/APM/backtrace.c: In function 'append_flat_zval_r':
/home/user/APM/backtrace.c:391:79: error: 'struct <anonymous>' has no member named 'nApplyCount'
    if (ZEND_HASH_APPLY_PROTECTION(Z_ARRVAL_P(expr)) && ++Z_ARRVAL_P(expr)->u.v.nApplyCount>1) {
                                                                               ^
/home/user/APM/backtrace.c:397:26: error: 'struct <anonymous>' has no member named 'nApplyCount'
     Z_ARRVAL_P(expr)->u.v.nApplyCount--;
                          ^
/home/user/APM/backtrace.c:407:26: error: 'struct <anonymous>' has no member named 'nApplyCount'
     Z_ARRVAL_P(expr)->u.v.nApplyCount--;
                          ^
make: *** [backtrace.lo] Error 1

I'd appreciate help in debugging this problem. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant