Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
aports
aports
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 647
    • Issues 647
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 175
    • Merge Requests 175
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • alpine
  • aportsaports
  • Issues
  • #6174

Closed
Open
Opened Sep 18, 2016 by kittithorn tha@kittithorn
  • Report abuse
  • New issue
Report abuse New issue

cannot add memcache to php due to libmemcached sasl support is not enabled

Hello,

I’m using docker and try to build php7 with alpine linux 3.4 image.

While i’m trying to add extention of php by “docker-php-ext-install memcached” my screen show this message.

configure: error: no, libmemcached sasl support is not enabled. Run configure with --disable-memcached-sasl to disable this check

Here, my script that i plan to put into my Dockerfile.

apk update && apk add git cyrus-sasl-dev libmemcached-dev zlib-dev \
&& git clone --branch 2.2.0 https://github.com/php-memcached-dev/php-memcached /usr/src/php/ext/memcached/ \
&& docker-php-ext-install memcached

Previous configuration please referred to php:7-alpine-fpm docker image.

apk info

/ # apk info libmemcached-dev
libmemcached-dev-1.0.18-r0 description:
Client library and command line tools for memcached server (development files)
libmemcached-dev-1.0.18-r0 webpage:
http://libmemcached.org/
libmemcached-dev-1.0.18-r0 installed size:
524288

I’m not sure is it on purpose or not of libmemcached-dev package that sasl is not configured.
Some tutorial suggest me to recompile libmemcached-dev and add —enable-sasl.
I do not know how to check package build configuration on existing libmemcached-dev
(https://pkgs.alpinelinux.org/packages?name=libmemcached-dev)

However, i can add memcached extension to my php after i disable sasl but i want to enable sasl in the future.

Any suggestion?

Best regard,

(from redmine: issue id 6174, created on 2016-09-18, closed on 2016-09-23)

  • Changesets:
    • Revision c5ce6d07 by Natanael Copa on 2016-09-22T13:18:19Z:
main/libmemcached: enable sasl support

ref #6174
  • Revision 41502786 by Natanael Copa on 2016-09-22T13:24:32Z:
main/libmemcached: enable sasl support

fixes #6174
To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
3.4.4
Milestone
3.4.4 (Past due)
Assign milestone
Time tracking
None
Due date
None
2
Labels
Normal type:bug
Assign labels
  • View project labels
Reference: alpine/aports#6174