Comments (5)
'Note': Installing the phpiredis extension requires php to install both the APC and APCU extensions in addition to Hiredis, otherwise the dynamic library cannot be loaded.
from phpiredis.
I see this was an old issue and version of this library apparently sorry :)
from phpiredis.
I closed this originally as I thought it had been caused by an old version of this lib but it seems this is different.
phpiredis | enabled |
---|---|
phpiredis version | 1.0.0 |
hiredis version | 0.13.3 |
make test
Build complete.
Don't forget to run 'make test'.
PHP : /usr/bin/php7.2
PHP_SAPI : cli
PHP_VERSION : 7.2.9-1+ubuntu18.04.1+deb.sury.org+1
ZEND_VERSION: 3.2.0
PHP_OS : Linux - Linux -Q1 4.15.0-33-generic #36-Ubuntu SMP Wed Aug 15 16:00:05 UTC 2018 x86_64
INI actual : /phpiredis/tmp-php.ini
More .INIs :
PHP : /usr/bin/phpdbg7.2
PHP_SAPI : phpdbg
PHP_VERSION : 7.2.9-1+ubuntu18.04.1+deb.sury.org+1
ZEND_VERSION: 3.2.0
PHP_OS : Linux - Linux -Q1 4.15.0-33-generic #36-Ubuntu SMP Wed Aug 15 16:00:05 UTC 2018 x86_64
INI actual : /phpiredis/tmp-php.ini
More .INIs :
CWD : /phpiredis
Extra dirs :
VALGRIND : Not used
TIME START 2018-09-13 10:34:53
PASS [CLIENT] Connect to Redis [tests/client_001.phpt]
PASS [CLIENT] Persistent and non-persistent connections [tests/client_002.phpt]
SKIP [CLIENT] Persistent and non-persistent connections (UNIX socket) [tests/client_003.phpt] reason: Cannot find UNIX domain socket file at /tmp/redis.sock
PASS [CLIENT] Execute commands [tests/client_004.phpt]
PASS [CLIENT] Execute pipelined commands [tests/client_005.phpt]
PASS [CLIENT] Execute pipelined commands returning nested multibulk responses [tests/client_006.phpt]
PASS [CLIENT] Execute commands (binary-safe) [tests/client_007.phpt]
PASS [CLIENT] Execute commands with binary data (binary-safe) [tests/client_008.phpt]
PASS [CLIENT] Execute pipelined commands (binary safe) [tests/client_009.phpt]
PASS [CLIENT] Do not attempt to reconnect upon disconnection [tests/client_010.phpt]
PASS [CLIENT] Do not attempt to reconnect upon disconnection (pipeline) [tests/client_011.phpt]
FAIL [READER] Create reader resource [tests/reader_001.phpt]
FAIL [READER] Feed reader and parse responses [tests/reader_002.phpt]
FAIL [READER] Check reader state [tests/reader_003.phpt]
FAIL [READER] Reset reader [tests/reader_004.phpt]
FAIL [READER] Response types [tests/reader_005.phpt]
FAIL [READER] Set custom error handler [tests/reader_006.phpt]
FAIL [READER] Set custom status handler [tests/reader_007.phpt]
FAIL [READER] Custom error handler throwing exceptions or returning objects [tests/reader_008.phpt]
FAIL [READER] Properly handle NULL responses [tests/reader_009.phpt]
FAIL [READER] Keep multibulk responses types [tests/reader_010.phpt]
FAIL [READER] Test regression for segfaults [tests/reader_011.phpt]
PASS [READER] Parameters formatting should not modify input argument. [tests/reader_012.phpt]
PASS [READER] Parameters formatting should not break on many arguments [tests/reader_013.phpt]
PASS [SERIALIZER] Command serialization [tests/serializer_001.phpt]
PASS [SERIALIZER] Command serialization with non-string arguments [tests/serializer_002.phpt]
PASS [UTILS] Calculate the CRC16 of strings [tests/utils_001.phpt]
TIME END 2018-09-13 10:34:55
TEST RESULT SUMMARY
Exts skipped : 0
Exts tested : 15
Number of tests : 27 26
Tests skipped : 1 ( 3.7%) --------
Tests warned : 0 ( 0.0%) ( 0.0%)
Tests failed : 11 ( 40.7%) ( 42.3%)
Expected fail : 0 ( 0.0%) ( 0.0%)
Tests passed : 15 ( 55.6%) ( 57.7%)
Time taken : 2 seconds
FAILED TEST SUMMARY
[READER] Create reader resource [tests/reader_001.phpt]
[READER] Feed reader and parse responses [tests/reader_002.phpt]
[READER] Check reader state [tests/reader_003.phpt]
[READER] Reset reader [tests/reader_004.phpt]
[READER] Response types [tests/reader_005.phpt]
[READER] Set custom error handler [tests/reader_006.phpt]
[READER] Set custom status handler [tests/reader_007.phpt]
[READER] Custom error handler throwing exceptions or returning objects [tests/reader_008.phpt]
[READER] Properly handle NULL responses [tests/reader_009.phpt]
[READER] Keep multibulk responses types [tests/reader_010.phpt]
[READER] Test regression for segfaults [tests/reader_011.phpt]
from phpiredis.
php: symbol lookup error: /usr/lib/php/20170718/phpiredis.so: undefined symbol: redisReplyReaderCreate
Does this still happen with this version? I'm confused here :)
from phpiredis.
Changes to support Hiredis >= 0.14, >= 1.0 have been merged in the v1.1
branch, the new minor release will be shipped in a few days is everything is fine. Thank you.
from phpiredis.
Related Issues (20)
- PHP 7 support HOT 1
- Error building against PHP 5.6.8 HOT 11
- The value of phpiredis_command_bs SET must be string? HOT 4
- pls support php7 HOT 16
- Release on PECL HOT 19
- make compile error HOT 2
- PHP: Unable to load dynamic library HOT 8
- make test after make install: phpiredis extension is not available
- make test after make install: phpiredis extension is not available HOT 1
- Compatibility with PHP 7.x HOT 19
- Install ext-phpiredis On Mac El Capitan HOT 1
- [RFE] improve installation doc HOT 2
- PhpiRedis: supplied resource is not a valid phpredis reader HOT 1
- phpiredis for snc_redis HOT 2
- Docker / Alpine installation (phpiredis.so: redisReplyReaderGetReply: symbol not found) HOT 4
- undefined symbol: redisReplyReaderGetReply in Unknown on line 0 HOT 4
- Extension fails to load when built with hiredis 0.14 on armv7h or x86_64: works on armv6h HOT 3
- Will recent Hiredis upgrades be implemented? HOT 6
- Plan to release 1.1.x HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phpiredis.