redis swooleWhat should I do if it cannot be read?
Install swoole redis asynchronous hiredis swoole extension fails to load or does not display the problem solution
The current method is for reference only
Post the error
I have been looking for it for a long time and tried online methods to no avail. Finally, after reading the question carefully, I thought it might be a hiredis path problem and finally solved it.
Solution:
Enter your installation package directory and execute the following
mkdir /usr/lib/hiredis cp libhiredis.so /usr/lib/hiredis #将动态连接库libhiredis.so至/usr/lib/hiredis mkdir /usr/include/hiredis cp hiredis.h /usr/include/hiredis echo '/usr/local/lib' >>/etc/ld.so.conf ldconfig
The above is the detailed content of What should I do if redis swoole cannot be read?. For more information, please follow other related articles on the PHP Chinese website!