-
Notifications
You must be signed in to change notification settings - Fork 2k
Building with a new cURL version? #198
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
Comments
Have you tried the Alpine variant of the image? They currently package 7.48.0 ^1, which is not even a month old. |
Same issue here, I'm trying to build the image the latest cURL. Would you accept a PR installing it? |
I tried getting a newer version of curl on any of the PHP 5.6, 7.0, or 7.1 images, but since they all build off of Debian Jessie, and the curl version there is locked in at 7.38, it seems you have to recompile PHP to get the newer curl version supported. Here's how I was building it (didn't work):
|
@marklocker - Also note that it looks like the 7.2 branch of this image builds off of Debian Stretch (the others all build on Jessie); so 7.2+ should have a more modern version of cURL. |
If you want to maintain a forked copy of this repo and build the base containers yourself, you can update the https://github.com/geerlingguy/docker-library-php/pull/1/files It would be nice if there were an easier way to do this building on top of the PHP library container. Maybe one way would be to drop all the |
Does anyone know the best way to get this image working with an upgraded version of cURL? As per this question on ServerFault.
I have a requirement to make HTTP/2 requests from within a PHP 7 app, something which isn't supported out of the box with this image because of the older version of cURL it's compiled with.
Any help from those with knowledge in this area would be massively appreciated!
The text was updated successfully, but these errors were encountered: