I am struggling with installing redis module in php 8.0.11 with litespeed enterprise version.
Steps I did:
Compiled PHP - works
Download phpredis, extracted tgz
Then i saw the module in the path:
I added extension to php.ini
Restart lshttpd and ran a phpinfo() and still no redis loaded..
Am I missing something?
I manually downloaded pecl and installed it too and it build redis the same but it wouldn't load when built that way.
Is there an option to add it to compile time when building php? --with-redis doesn't seem to do squat
Steps I did:
Compiled PHP - works
Download phpredis, extracted tgz
Code:
/usr/local/lsws/lsphp8/bin/phpize
./configure --with-php-config=/usr/local/lsws/lsphp8/bin/php-config
make
make install
Code:
ls /usr/local/lsws/lsphp8/lib/php/extensions/no-debug-non-zts-20200930/
igbinary.so opcache.so redis.so
Code:
extension="redis.so"
Am I missing something?
I manually downloaded pecl and installed it too and it build redis the same but it wouldn't load when built that way.
Is there an option to add it to compile time when building php? --with-redis doesn't seem to do squat