nicolasff/phpredis — Issue #139: phpredis not support php5.4.0?
Author: ytian
Created: 2012-03-04 15:32:46+00:00
State: open

I try phpredis with php5.4.0, make has errors:

/bin/sh /home/abui/env_test/software/env_5.4/nicolasff-phpredis-8ebb811/libtool --mode=compile cc -I. -I/home/abui/env_test/software/env_5.4/nicolasff-phpredis-8ebb811 -DPHP_ATOM_INC -I/home/abui/env_test/software/env_5.4/nicolasff-phpredis-8ebb811/include -I/home/abui/env_test/software/env_5.4/nicolasff-phpredis-8ebb811/main -I/home/abui/env_test/software/env_5.4/nicolasff-phpredis-8ebb811 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /home/abui/env_test/software/env_5.4/nicolasff-phpredis-8ebb811/redis.c -o redis.lo
cc -I. -I/home/abui/env_test/software/env_5.4/nicolasff-phpredis-8ebb811 -DPHP_ATOM_INC -I/home/abui/env_test/software/env_5.4/nicolasff-phpredis-8ebb811/include -I/home/abui/env_test/software/env_5.4/nicolasff-phpredis-8ebb811/main -I/home/abui/env_test/software/env_5.4/nicolasff-phpredis-8ebb811 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /home/abui/env_test/software/env_5.4/nicolasff-phpredis-8ebb811/redis.c -fPIC -DPIC -o .libs/redis.o
/home/abui/env_test/software/env_5.4/nicolasff-phpredis-8ebb811/redis.c: In function ‘redis_connect’:
/home/abui/env_test/software/env_5.4/nicolasff-phpredis-8ebb811/redis.c:517: 错误：提供给函数 ‘zend_list_insert’ 的实参太少
make: *** [redis.lo] 错误 1

can anybody fix it ?