Skip to content

configure command throwing error when enabling memcached while compiling php-src on Windows #567

Open
@aravindjayanthi98

Description

@aravindjayanthi98

Envrionment:
OS: Windows servercore 2022 (On docker container)
PHP: 8.4.2 (NTS)
Architecture: x64

Steps:
I have successfully compiled the php-src along with some extensions (like redis, raphf) using the steps mentioned in this page.
Now, when I add the memcached(version: 3.3.0) extension by download the src code here. I get the following error:

Enabling extension ext\session
Checking for library memcached.lib;libmemcached.lib ... ERROR: memcached: library 'memcached' not found

Am I missing any dependency here? If so can you please share any resource on how to download and build it on Windows docker container.

PS: I have tried the prebuild DLL file but I got the error PHP Startup: Unable to load dynamic library dll file. If there is a solution for this also please let me know, it would a huge help to fix my issues as I am tyring to compile other extensions as well with no luck.

Thanks in advance.

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