tony2001 / pinba_engine

Pinba - MySQL plugin and storage engine
http://pinba.org
GNU General Public License v2.0
475 stars 41 forks source link

PHP7 support #50

Open sergebezborodov opened 8 years ago

sergebezborodov commented 8 years ago

Does exist plans for support PHP 7?

muxx commented 8 years ago

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

yuklia commented 4 years ago

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 👽

gggeek commented 1 year ago

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/