Skip to content

must not fail if MemCache class isn't available  #159

@drzraf

Description

@drzraf

It can occur during a lot of situation:

  • enabled in FPM but not in CLI (so wp-cli fails): I guess it's shouldn't even load if PHP_SAPI === 'cli'
  • during a PHP socket switch / version upgrade
  • during a debugging attempt that imply deactivating so PHP modules
  • ...

In all these and others cases, the extensions should definitely NOT trigger a fatal error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions