-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PHP: Unable to load dynamic library #46
Comments
|
Pull request #47 should fix this issue. |
Please note that hiredis v1.0.0 is a work-in-progress and it's still unreleased so you should stick with hiredis v0.13 for now. For this reason I removed the |
@nrk any follow up? |
Same error in 2019: Is this package still under development @nrk? |
@fridzema you need to use a hiredis v0.13 |
'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. |
Chenges to support Hiredis >= 0.14, >= 1.0 have been merged in the |
I have compiled phpiredis with following commands:
git clone https://github.com/nrk/phpiredis.git
cd phpiredis
phpize && ./configure --enable-phpiredis
make && make install
And included library as follows:
echo extension=/usr/lib64/php/5.5/modules/phpiredis.so > /etc/php.d/redis.ini
But I got this error:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/5.5/modules/phpiredis.so' - /usr/lib64/php/5.5/modules/phpiredis.so: undefined symbol: redisReplyReaderGetError in Unknown on line 0
Could any one help?
The text was updated successfully, but these errors were encountered: