[php-src] Issue #11452: Docker Image php:8.2.7-fpm/php:8.1.20-fpm from 8.6.2023 has problem to identifikate libmemcached
| From: | digilopment | Date: | Wed, 14 Jun 2023 18:36:49 +0000 |
| Subject: | [php-src] Issue #11452: Docker Image php:8.2.7-fpm/php:8.1.20-fpm from 8.6.2023 has problem to identifikate libmemcached | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-244693@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/11452
Author: digilopment
### Description
**In Dockerfile:**
In case of install memcached extenstion **pecl install memcached** and
then **RUN apt-get update && apt-get install -y libmemcached-dev zlib1g-dev && pecl
install memcached && docker-php-ext-enable memcached;** has **docker-php-ext-configure**
problem to locate **libmemcached-dev** package.
The same problem has PHP version 8.1.20 from 8.6.2023.
Final error message looks like:
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
Previous versions of PHP (8.2.6 and 8.1.19) are correct
### PHP Version
PHP 8.2.7
### Operating System
Docker 23.0.1, build a5ee5b1