Skip to main content

PHP Startup: Unable to load dynamic library 'redis.so'

Comments

4 comments

  • cPRex Jurassic Moderator
    Hey there! Can you try running the following command to see if that shows you an entry for Redis directly in the configuration? grep -R redis /opt/cpanel/ea-php74/root/etc/php.ini
    If not, you may want to try a more general search of those areas with something like this: grep -Ri redis /opt/cpanel/ea-php*/root/etc/php.ini

    0
  • SPDTeam
    Thanks, PRex I eventually found the culprit. It was in /opt/cpanel/ea-php74/root/etc/php.d/redis.ini
    line: extension=redis.so. For now, I've commented the line out. Hopefully, that will stop the errors. What would be the safe way to uninstall Redis and the EasyApache4 PHP extension? Assuming I don't just remove the redis.ini...
    Hey there! Can you try running the following command to see if that shows you an entry for Redis directly in the configuration? grep -R redis /opt/cpanel/ea-php74/root/etc/php.ini
    If not, you may want to try a more general search of those areas with something like this: grep -Ri redis /opt/cpanel/ea-php*/root/etc/php.ini


    0
  • cPRex Jurassic Moderator
    I'm glad that command helped to track it down. Since Redis isn't something we support on our end, we don't have a recommended install or uninstall option. You may have seen this thread where this was discussed:
    0
  • SPDTeam
    Thanks, will do.
    0

Please sign in to leave a comment.