pinba_engine icon indicating copy to clipboard operation
pinba_engine copied to clipboard

PHP7 support

Open sergebezborodov opened this issue 9 years ago • 3 comments
trafficstars

Does exist plans for support PHP 7?

sergebezborodov avatar Dec 05 '15 09:12 sergebezborodov

Look at https://github.com/tony2001/pinba_extension/issues/23

muxx avatar Dec 07 '15 06:12 muxx

Hello! I tried to build on FROM php:7.3-fpm and got an error below:

/usr/src/php/ext/pinba/pinba.c: In function 'zif_pinba_timer_start':
/usr/src/php/ext/pinba/pinba.c:1295:19: error: lvalue required as increment operand
  GC_REFCOUNT(rsrc)++;
                   ^~
/usr/src/php/ext/pinba/pinba.c: In function 'zif_pinba_timer_add':
/usr/src/php/ext/pinba/pinba.c:1354:19: error: lvalue required as increment operand
  GC_REFCOUNT(rsrc)++;
                   ^~
/usr/src/php/ext/pinba/pinba.c: In function 'zif_pinba_timers_get':
/usr/src/php/ext/pinba/pinba.c:1811:21: error: lvalue required as increment operand
    GC_REFCOUNT(rsrc)++;
                     ^~
make: *** [Makefile:195: pinba.lo] Error 1

BUT FROM php:7.2-fpm works hist fine 👽

yuklia avatar Jul 31 '20 12:07 yuklia

Aside from the fact that this ticket has been created in the wrong issue tracker, you can find a pure-php implementation of Pinba at https://github.com/gggeek/pinba_php/

gggeek avatar Dec 11 '22 09:12 gggeek