Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

php_curl does not work with IIS extended protection #14039

Open
christophvw opened this issue Apr 24, 2024 · 3 comments
Open

php_curl does not work with IIS extended protection #14039

christophvw opened this issue Apr 24, 2024 · 3 comments

Comments

@christophvw
Copy link

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

@christophvw
Copy link
Author

Garethp/php-ews#261

@christophvw
Copy link
Author

curl/curl#13098

@cmb69
Copy link
Member

cmb69 commented Jul 11, 2024

See also winlibs/cURL#13.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants