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

ErrorException Use of undefined constant CURLOPT_HTTPGET #6448

Closed
ktomk opened this issue May 24, 2017 · 3 comments
Closed

ErrorException Use of undefined constant CURLOPT_HTTPGET #6448

ktomk opened this issue May 24, 2017 · 3 comments

Comments

@ktomk
Copy link
Contributor

ktomk commented May 24, 2017

Just a minor issue: When starting composer w/o curl extension installed composer greets with just an ErrorException with message "Use of undefined constant CURLOPT_HTTPGET - assumed 'CURLOPT_HTTPGET'".

It would be more comfortable for a user to see a message that a (the) required php extension is not available.

@stof
Copy link
Contributor

stof commented May 24, 2017

Composer does not use curl at all. Look at the stack trace of the exception. I suspect it comes from a plugin

@ktomk
Copy link
Contributor Author

ktomk commented May 25, 2017

Oh, good hint, have not run -vvv. Will report it to hirak/prestissimo.

@ktomk ktomk closed this as completed May 25, 2017
@ktomk
Copy link
Contributor Author

ktomk commented May 27, 2017

Ref: hirak/prestissimo#145

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

No branches or pull requests

2 participants