84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
错误提示不太了解linux安装redis,请各位指导一下,我在ubuntu下能正常配置成功,到了centos就出现这问题了/usr/bin/ld: Warning: size of symbol `arginfo_scan' changed from 160 in .libs/redis.o to 200 in .libs/redis_cluster.ocollect2: ld returned 1 exit statusmake: * [redis.la] Error 1
光阴似箭催人老,日月如移越少年。
You can modify redis_cluester.c and comment out the two repeated parts.
Please refer to this article for details about phpredis extension installation in multiple PHP environments
40 41 /* Argument info for HSCAN, SSCAN, HSCAN */ 42 /*ZEND_BEGIN_ARG_INFO_EX(arginfo_kscan, 0, 0, 2) 43 ZEND_ARG_INFO(0, str_key) 44 ZEND_ARG_INFO(1, i_iterator) 45 ZEND_ARG_INFO(0, str_pattern) 46 ZEND_ARG_INFO(0, i_count) 47 ZEND_END_ARG_INFO(); 48 */ 49 50 /* Argument infor for SCAN */ 51 /* 52 ZEND_BEGIN_ARG_INFO_EX(arginfo_scan, 0, 0, 2) 53 ZEND_ARG_INFO(1, i_iterator) 54 ZEND_ARG_INFO(0, str_node) 55 ZEND_ARG_INFO(0, str_pattern) 56 ZEND_ARG_INFO(0, i_count) 57 ZEND_END_ARG_INFO(); 58 */
./configure just add --with-php-config
./configure --with-php-config=/home/php/bin/php-config
I guess you installed the wrong version
You can modify redis_cluester.c and comment out the two repeated parts.
Please refer to this article for details about phpredis extension installation in multiple PHP environments
./configure just add --with-php-config
./configure --with-php-config=/home/php/bin/php-config
I guess you installed the wrong version