Steps to replicate the issue (include links if applicable):
- In Dockerfile
FROM mediawiki:1.39.3 ... RUN apt-get update && apt-get install -y memcached libmemcached-dev zlib1g-dev \ && pecl install memcached \ && docker-php-ext-enable memcached ...
What happens?:
Since last week the image is build in debian bookworm (instead of bullseye) and the following error occurs:
... checking for libmemcached location... configure: error: memcached support requires libmemcached. Use --with-libmemcached-dir=<DIR> to specify the prefix where libmemcached headers and library are located ERROR: `/tmp/pear/temp/memcached/configure --with-php-config=/usr/local/bin/php-config --with-libmemcached-dir=no --with-zlib-dir=no --with-system-fastlz=no --enable-memcached-igbinary=no --enable-memcached-msgpack=no --enable-memcached-json=no --enable-memcached-protocol=no --enable-memcached-sasl=yes --enable-memcached-session=yes' failed
The mediawiki docker parent image is 'php:8.1-apache' based on bullseye. Won't php8.1 be supported in bullseye anymore?
What should have happened instead?:
No error during docker build should occur.
Software version (skip for WMF-hosted wikis like Wikipedia):
MW 1.39
Other information (browser name/version, screenshots, etc.):