Skip to content

php_curl does not work with IIS extended protection #14039

Open
@christophvw

Description

@christophvw

Description

Same issue described here:
curl/curl#12511

a workaround would be to use the Schannel Backend instead of OpenSSL:
set CURL_SSL_BACKEND=schannel
https://curl.se/libcurl/c/libcurl-env.html

But this does not work for precompiled php binaries as libcurl is statically linked.

https://support.microsoft.com/en-us/topic/description-of-the-update-that-implements-extended-protection-for-authentication-in-internet-information-services-iis-0efdf83b-2ae5-040c-5308-6cacf2e24b30?WT.mc_id=M365-MVP-6771

Would it be possible to add a php.ini setting to use a different curl backend? Or build php_curl with schannel backend on windows?
see https://curl.se/libcurl/c/curl_global_sslset.html

PHP Version

PHP 8.3.6

Operating System

Windows 11

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions