Issue
AccelerateWP for users activated, but attempt to enable Object cache failed with the following error:
Redis extension is not loaded for selected php version
Redis PHP extension is required for optimization feature, but not loaded for selected PHP version: alt-phpXX
Environment
- AccelerateWP
- Redis
- ALT-PHP
Solution
- Ensure that the configuration file for the reported PHP version looks as follows:
# cat /opt/alt/php81/etc/php.d.all/redis.ini
; Enable redis extension module
extension=msgpack.so
extension=igbinary.so
extension=redis.so -
Then enable the required extensions for the affected user:
# selectorctl --enable-user-extensions=redis,igbinary,msgpack --version=8.1 --user=jdoe
PHP 8.1 was used as an example
Comments
0 comments
Please sign in to leave a comment.