[php-src] Issue #14039: php_curl does not work with IIS extended protection
| From: | christophvw | Date: | Wed, 24 Apr 2024 06:34:06 +0000 |
| Subject: | [php-src] Issue #14039: php_curl does not work with IIS extended protection | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-246809@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/14039
Author: christophvw
### Description
Same issue described here:
https://github.com/curl/curl/issues/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