-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
curl_multi_exec() has been disabled for security reasons #9423
Comments
Well, if your server is forbidden from doing HTTP calls, you won't be able to download packages
This output does not mean that the packages are all downloaded. Composer 2 downloads the packages in parallel. The |
Hi @stof I understand, but the server is not forbidden of doing HTTP calls, however it's disabled ONLY the curl_multi_exec .. while curl_exec is still OK to be used. Thanks. |
I just saw that as of composer 2.0.0 it's listed on the changelog: Added support for parallel downloads of package metadata and zip files, this requires that the curl extension is present and we thus strongly recommend enabling curl So I must have checked on that first before updating ... bugger :( |
It's kind of a silly "security" restrictions to impose IMO, but anyway easy to fix on our end. You can try with |
Thanks @Seldaek The composer diagnose now responds properly
and the composer install works as well ... Thanks a lot. |
Correct .... I did test on two machines (one with enabled and one with disabled) .. and copied over the diagnose information from the good one .. sorry. My bad.
I think this is resolved now. |
Ok great |
* master: Update changelog Fix regression handling installs with custom installers not passing a fully qualified path to downloaders, fixes composer#9431, fixes composer#9434 Update changelog for 2.0.5 Fix check-platform-reqs --no-dev to not require lock anymore Drop unused imports Fix missing directory separator in FileDownloader Avoid using curl when it has been disabled, fixes composer#9423
My
composer.json
:doesn't matter .. not related to a package
Output of
composer diagnose
:When I run this command:
I get the following output:
And I expected this to happen:
Expected to install packages with curl_exec when curl_multi_exec is disabled.
The text was updated successfully, but these errors were encountered: