Skip to content

PHP Warning: Module 'redis' already loaded in Unknown on line 0 #178

@dandrikop

Description

@dandrikop

Hello,

I'm using a Redis instance for Sessions and a separate Redis instance for Cache on Magento 1.9.4.5 with PHP 7.2. Upon every HTTP request, I see the below line at the file error_log:

PHP Warning: Module 'redis' already loaded in Unknown on line 0

I don't know which of the two modules Cm_RedisSession or Cm_Cache_Backend_Redis is responsible for that.

I believe that this warning occurs below ISP has installed Redis module for PHP (see attached screenshot from phpinfo). This line fills up my log file. Is there any way to suppress this warning in the Cm_RedisSession or Cm_Cache_Backend_Redis modules, or the only solution is to remove Redis module from PHP?

Capture

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions