Skip to content

Memcached installation error in php:8.1-apache #1418

Closed
@adrianc111

Description

@adrianc111

Description
From yesterday we started getting an error when building docker containers, specifically when installing memcached with the command RUN install-php-extensions memcached but the same happens with pecl install memcached.

configure: error: memcached support requires libmemcached. Use --with-libmemcached-dir=

The suggested attribute --with-libmemcached-dir=<DIR> doesn't fix it and throws an error as if the file didn't existed in the provided location.

unable to locate header file memcached.h**

Steps to replicate

  • Install memcached in Dockerfile using pecl or install-php-extensions

Workaround
The workaround for now is to use php:8.1.9-apache instead of php:8.1-apache

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