-
Notifications
You must be signed in to change notification settings - Fork 22
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
"Try Open Swoole with Docker" tutorial docker build fails: "fatal error: curl/curl.h: No such file or directory" #61
Comments
d u have php-curl ext installed? maybe try use pear/pecl installation https://openswoole.com/docs/get-started/installation#pecl-configuration-options-for-open-swoole |
It doesn't look like According to https://openswoole.com/docs/get-started/common-install-errors#missing-libcurl-errors, that library is required if openswoole is to be compiled with After getting the build to work, I've noticed that running the example In summary, my working Dockerfile:
And my server.php
|
@KelseySheely , thank you, that worked for me; much appreciated. I'm going to leave this open so that the openswoole team can update their documentation. |
I copied the Dockerfile and built it as instructed on https://openswoole.com/docs/get-started/try-docker
Upon build, I got the error:
The text was updated successfully, but these errors were encountered: