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

Bump required libcurl version to 7.29.0 #4917

Closed
wants to merge 6 commits into from

Conversation

cmb69
Copy link
Contributor

@cmb69 cmb69 commented Nov 16, 2019

libcurl 7.17.1 has been released 12 years ago, so it doesn't seem
reasonable to still cater to older versions. The main reason for this
version bump is to cater to a mass renaming of CURLE_* constants in
7.17.0 (and a single further renaming in 7.17.1), whereby many of the
old constants have been marked obsolete, and according to curl.h have
been scheduled for removal in 2009 already.

So we remove all respective PHP CURLE_* constants, and add not yet
available replacements, except for those constants which have been
marked as being obsolete (CURLE_OBSOLETE*), since these error codes
are not supposed to be returned ever.

Renamed constants:

  • CURLE_FTP_ACCESS_DENIEDCURLE_REMOTE_ACCESS_DENIED
  • CURLE_FTP_BAD_DOWNLOAD_RESUMECURLE_BAD_DOWNLOAD_RESUME
  • CURLE_FTP_COULDNT_SET_BINARYCURLE_FTP_COULDNT_SET_TYPE
  • CURLE_FTP_COULDNT_STOR_FILECURLE_UPLOAD_FAILED
  • CURLE_FTP_PARTIAL_FILECURLE_PARTIAL_FILE
  • CURLE_FTP_QUOTE_ERRORCURLE_QUOTE_ERROR
  • CURLE_HTTP_NOT_FOUNDCURLE_HTTP_RETURNED_ERROR
  • CURLE_HTTP_PORT_FAILEDCURLE_INTERFACE_FAILED
  • CURLE_HTTP_RANGE_ERRORCURLE_RANGE_ERROR
  • CURLE_OPERATION_TIMEOUTEDCURLE_OPERATION_TIMEDOUT
  • CURLE_SSL_PEER_CERTIFICATECURLE_PEER_FAILED_VERIFICATION
  • CURLE_URL_MALFORMAT_USERCURLE_NOT_BUILT_IN
  • CURLE_FTP_SSL_FAILEDCURLE_USE_SSL_FAILED

Removed constants:

  • CURLE_BAD_CALLING_ORDER
  • CURLE_BAD_PASSWORD_ENTERED
  • CURLE_FTP_CANT_RECONNECT
  • CURLE_FTP_COULDNT_GET_SIZE
  • CURLE_FTP_COULDNT_SET_ASCII
  • CURLE_FTP_USER_PASSWORD_INCORRECT
  • CURLE_FTP_WEIRD_USER_REPLY
  • CURLE_FTP_WRITE_ERROR
  • CURLE_LIBRARY_NOT_FOUND
  • CURLE_OBSOLETE
  • CURLE_SHARE_IN_USE
  • CURLE_MALFORMAT_USER

While I find it a bit unfortunate that we can't deprecate the removed/renamed constants, I think this removal/renaming has to be done for PHP 8.0, since otherwise we're at risk that we can't build against future libcurl versions anymore.

Even with this patch, building with CURL_NO_OLDIES defined still doesn't succeed, but I'm planning to cater to the seven other obsolete constant in a separate PR, because these appear to be more controversial, mainly since they have only been obsoleted in later versions.

libcurl 7.17.1 has been released 12 years ago, so it doesn't seem
reasonable to still cater to older versions.  The main reason for this
version bump is to cater to a mass renaming of `CURLE_*` constants in
7.17.0 (and a single further renaming in 7.17.1), whereby many of the
old constants have been marked obsolete, and according to curl.h have
been scheduled for removal in 2009 already.

So we remove all respective PHP `CURLE_*` constants, and add not yet
available replacements, except for those constants which have been
marked as being obsolete (`CURLE_OBSOLETE*`), since these error codes
are not supposed to be returned ever.

Renamed constants:
* `CURLE_FTP_ACCESS_DENIED` → `CURLE_REMOTE_ACCESS_DENIED`
* `CURLE_FTP_BAD_DOWNLOAD_RESUME` → `CURLE_BAD_DOWNLOAD_RESUME`
* `CURLE_FTP_COULDNT_SET_BINARY` → `CURLE_FTP_COULDNT_SET_TYPE`
* `CURLE_FTP_COULDNT_STOR_FILE` → `CURLE_UPLOAD_FAILED`
* `CURLE_FTP_PARTIAL_FILE` → `CURLE_PARTIAL_FILE`
* `CURLE_FTP_QUOTE_ERROR` → `CURLE_QUOTE_ERROR`
* `CURLE_HTTP_NOT_FOUND` → `CURLE_HTTP_RETURNED_ERROR`
* `CURLE_HTTP_PORT_FAILED` → `CURLE_INTERFACE_FAILED`
* `CURLE_HTTP_RANGE_ERROR` → `CURLE_RANGE_ERROR`
* `CURLE_OPERATION_TIMEOUTED` → `CURLE_OPERATION_TIMEDOUT`
* `CURLE_SSL_PEER_CERTIFICATE` → `CURLE_PEER_FAILED_VERIFICATION`
* `CURLE_URL_MALFORMAT_USER` → `CURLE_NOT_BUILT_IN`
* `CURLE_FTP_SSL_FAILED` → `CURLE_USE_SSL_FAILED`

Removed constants:
* `CURLE_BAD_CALLING_ORDER`
* `CURLE_BAD_PASSWORD_ENTERED`
* `CURLE_FTP_CANT_RECONNECT`
* `CURLE_FTP_COULDNT_GET_SIZE`
* `CURLE_FTP_COULDNT_SET_ASCII`
* `CURLE_FTP_USER_PASSWORD_INCORRECT`
* `CURLE_FTP_WEIRD_USER_REPLY`
* `CURLE_FTP_WRITE_ERROR`
* `CURLE_LIBRARY_NOT_FOUND`
* `CURLE_OBSOLETE`
* `CURLE_SHARE_IN_USE`
* `CURLE_MALFORMAT_USER`
@nikic
Copy link
Member

nikic commented Jan 10, 2020

I've opened #5072 to add support for deprecation constant. I think our course of action here should be to deprecate the old names and internally define their values to the new constants. That way we can avoid issues if the constants are removed, but can handle the deprecation/removal on our own schedule (as you mention, there are a number that are more recent).

@cmb69
Copy link
Contributor Author

cmb69 commented Jan 10, 2020

Thanks! That sounds sensible. Will update the PR ASAP.

@cmb69 cmb69 changed the title Bump required libcurl version to 7.17.1 [WiP] Bump required libcurl version to 7.17.1 Jan 10, 2020
@remicollet
Copy link
Contributor

Even RHEL / CentOS 6 have 7.19.7, and is probably the older maintained distribution (and will be EOL in a few months), and BTW most of lib. are already outdated and recent PHP 7.4 can not be build there without some big effort.

RHEL / CentOS 7 (5 years old, will be maintained until 2024) have 7.29.0

So fine for me to bump mininal required version to anything less than 7.29

@Girgias
Copy link
Member

Girgias commented Jan 12, 2020

As said on the mailing list, I would rather see a "major" bump in the required version and bump it directly to 7.29.0 than go for an older release.

But just my opinion :)

Let's wait for PR php#5072, and act accordingly then.
Apparently, bumping the requirements only to libcurl >= 7.19.1 was very
conservative, and several devs suggested to bump the requirements to
libcurl >= 7.29.0 right away, we follow suit.  After all, libcurl
7.29.0 will be almost eight years old when PHP 8.0.0 will be released,
so at least this version is supposed to be available everywhere.
@cmb69
Copy link
Contributor Author

cmb69 commented Jan 16, 2020

I have now undone the removal of the constants (which can still be done later; should wait for PR #5072), but bumped the requirements to libcurl >= 7.29.0, which appears to have consensus.

@cmb69 cmb69 changed the title [WiP] Bump required libcurl version to 7.17.1 Bump required libcurl version to 7.29.0 Jan 16, 2020
Since we do not longer support libcurl < 7.29.0, these (parts of the)
tests are no longer required.
Copy link
Member

@nikic nikic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM modulo one test.

ext/curl/tests/bug45161.phpt Show resolved Hide resolved
@cmb69
Copy link
Contributor Author

cmb69 commented Jan 19, 2020

Applied as 7426e3b. Thanks!

@cmb69 cmb69 closed this Jan 19, 2020
@cmb69 cmb69 deleted the bump-curl-7.17.1 branch January 19, 2020 13:11
@carusogabriel carusogabriel added this to the PHP 8.0 milestone May 29, 2020
Ayesh added a commit to Ayesh/php-src that referenced this pull request Jan 27, 2024
Bumps the minimum required libcurl version to 7.61.0.

Please also see php#4917, which bumped minimum libcurl version to the current >= 7.29.0.

Ubuntu, Debian, RHEL, and RHEL derivatives have major and LTS version bumps this year. Following are the
libcurl-dev/libcurl-devel versions available in the oldest supported (LTS or otherwise) in major OSs.

 - Debian buster: [7.64](https://packages.debian.org/buster/libcurl4-openssl-dev)
 - Ubuntu 20.04: [7.68](https://packages.ubuntu.com/focal/libcurl-dev)
 - CentOS/RHEL 7: 7.29
 - Fedora 38: 7.87

RHEL/CentOS 7 reaches EOL mid 2024, so for PHP 8.4 scheduled towards the end of this year, we can safely
bump the minimum libcurl version.

7.61.0 was selected as the new minimum because RHEL and derivatives have libcurl-devel version 7.61. RHEL 8 is
a current and supported RHEL version.
Ayesh added a commit to Ayesh/php-src that referenced this pull request Jan 27, 2024
Bumps the minimum required libcurl version to 7.61.0.

Please also see php#4917, which bumped minimum libcurl version to the current >= 7.29.0.

Ubuntu, Debian, RHEL, and RHEL derivatives have major and LTS version bumps this year. Following are the
libcurl-dev/libcurl-devel versions available in the oldest supported (LTS or otherwise) in major OSs.

 - Debian buster: [7.64](https://packages.debian.org/buster/libcurl4-openssl-dev)
 - Ubuntu 20.04: [7.68](https://packages.ubuntu.com/focal/libcurl-dev)
 - CentOS/RHEL 7: 7.29
 - RHEL 8/Rocky 8/EL 8: 7.61
 - Fedora 38: 7.87

RHEL/CentOS 7 reaches EOL mid 2024, so for PHP 8.4 scheduled towards the end of this year, we can safely
bump the minimum libcurl version.

7.61.0 was selected as the new minimum because RHEL and derivatives have libcurl-devel version 7.61. RHEL 8 is
a current and supported RHEL version.
Ayesh added a commit to Ayesh/php-src that referenced this pull request Jan 28, 2024
Bumps the minimum required libcurl version to 7.61.0.

Please also see php#4917, which bumped minimum libcurl version to the current >= 7.29.0.
This bumps the minimum requirement to Curl 7.61.0 (released 2018 Sept).

Ubuntu, Debian, RHEL, and RHEL derivatives have major and LTS version bumps this year. Following are the
libcurl-dev/libcurl-devel versions available in the oldest supported (LTS or otherwise) in major OSs.

 - Debian buster: [7.64](https://packages.debian.org/buster/libcurl4-openssl-dev)
 - Ubuntu 20.04: [7.68](https://packages.ubuntu.com/focal/libcurl-dev)
 - CentOS/RHEL 7: 7.29
 - RHEL 8/Rocky 8/EL 8: 7.61
 - Fedora 38: 7.87

RHEL/CentOS 7 reaches EOL mid 2024, so for PHP 8.4 scheduled towards the end of this year, we can safely
bump the minimum libcurl version.

7.61.0 was selected as the new minimum because RHEL and derivatives have libcurl-devel version 7.61. RHEL 8 is
a current and supported RHEL version.
Ayesh added a commit to Ayesh/php-src that referenced this pull request Jan 29, 2024
Bumps the minimum required libcurl version to 7.61.0.

Please also see php#4917, which bumped minimum libcurl version to the current >= 7.29.0.
This bumps the minimum requirement to Curl 7.61.0 (released 2018 Sept).

Ubuntu, Debian, RHEL, and RHEL derivatives have major and LTS version bumps this year. Following are the
libcurl-dev/libcurl-devel versions available in the oldest supported (LTS or otherwise) in major OSs.

 - Debian buster: [7.64](https://packages.debian.org/buster/libcurl4-openssl-dev)
 - Ubuntu 20.04: [7.68](https://packages.ubuntu.com/focal/libcurl-dev)
 - CentOS/RHEL 7: 7.29
 - RHEL 8/Rocky 8/EL 8: 7.61
 - Fedora 38: 7.87

RHEL/CentOS 7 reaches EOL mid 2024, so for PHP 8.4 scheduled towards the end of this year, we can safely
bump the minimum libcurl version.

7.61.0 was selected as the new minimum because RHEL and derivatives have libcurl-devel version 7.61. RHEL 8 is
a current and supported RHEL version.
Ayesh added a commit to Ayesh/php-src that referenced this pull request Jan 29, 2024
Bumps the minimum required libcurl version to 7.61.0.

Please also see php#4917, which bumped minimum libcurl version to the current >= 7.29.0.
This bumps the minimum requirement to Curl 7.61.0 (released 2018 Sept).

Ubuntu, Debian, RHEL, and RHEL derivatives have major and LTS version bumps this year. Following are the
libcurl-dev/libcurl-devel versions available in the oldest supported (LTS or otherwise) in major OSs.

 - Debian buster: [7.64](https://packages.debian.org/buster/libcurl4-openssl-dev)
 - Ubuntu 20.04: [7.68](https://packages.ubuntu.com/focal/libcurl-dev)
 - CentOS/RHEL 7: 7.29
 - RHEL 8/Rocky 8/EL 8: 7.61
 - Fedora 38: 7.87

RHEL/CentOS 7 reaches EOL mid 2024, so for PHP 8.4 scheduled towards the end of this year, we can safely
bump the minimum libcurl version.

7.61.0 was selected as the new minimum because RHEL and derivatives have libcurl-devel version 7.61. RHEL 8 is
a current and supported RHEL version.
Ayesh added a commit to Ayesh/php-src that referenced this pull request Jan 29, 2024
Bumps the minimum required libcurl version to 7.61.0.

Please also see php#4917, which bumped minimum libcurl version to the current >= 7.29.0.
This bumps the minimum requirement to Curl 7.61.0 (released 2018 Sept).

Ubuntu, Debian, RHEL, and RHEL derivatives have major and LTS version bumps this year. Following are the
libcurl-dev/libcurl-devel versions available in the oldest supported (LTS or otherwise) in major OSs.

 - Debian buster: [7.64](https://packages.debian.org/buster/libcurl4-openssl-dev)
 - Ubuntu 20.04: [7.68](https://packages.ubuntu.com/focal/libcurl-dev)
 - CentOS/RHEL 7: 7.29
 - RHEL 8/Rocky 8/EL 8: 7.61
 - Fedora 38: 7.87

RHEL/CentOS 7 reaches EOL mid 2024, so for PHP 8.4 scheduled towards the end of this year, we can safely
bump the minimum libcurl version.

7.61.0 was selected as the new minimum because RHEL and derivatives have libcurl-devel version 7.61. RHEL 8 is
a current and supported RHEL version.
Ayesh added a commit to Ayesh/php-src that referenced this pull request Jan 29, 2024
Bumps the minimum required libcurl version to 7.61.0.

Please also see php#4917, which bumped minimum libcurl version to the current >= 7.29.0.
This bumps the minimum requirement to Curl 7.61.0 (released 2018 Sept).

Ubuntu, Debian, RHEL, and RHEL derivatives have major and LTS version bumps this year. Following are the
libcurl-dev/libcurl-devel versions available in the oldest supported (LTS or otherwise) in major OSs.

 - Debian buster: [7.64](https://packages.debian.org/buster/libcurl4-openssl-dev)
 - Ubuntu 20.04: [7.68](https://packages.ubuntu.com/focal/libcurl-dev)
 - CentOS/RHEL 7: 7.29
 - RHEL 8/Rocky 8/EL 8: 7.61
 - Fedora 38: 7.87

RHEL/CentOS 7 reaches EOL mid 2024, so for PHP 8.4 scheduled towards the end of this year, we can safely
bump the minimum libcurl version.

7.61.0 was selected as the new minimum because RHEL and derivatives have libcurl-devel version 7.61. RHEL 8 is
a current and supported RHEL version.
Ayesh added a commit to Ayesh/php-src that referenced this pull request Jan 29, 2024
Bumps the minimum required libcurl version to 7.61.0.

Please also see php#4917, which bumped minimum libcurl version to the current >= 7.29.0.
This bumps the minimum requirement to Curl 7.61.0 (released 2018 Sept).

Ubuntu, Debian, RHEL, and RHEL derivatives have major and LTS version bumps this year. Following are the
libcurl-dev/libcurl-devel versions available in the oldest supported (LTS or otherwise) in major OSs.

 - Debian buster: [7.64](https://packages.debian.org/buster/libcurl4-openssl-dev)
 - Ubuntu 20.04: [7.68](https://packages.ubuntu.com/focal/libcurl-dev)
 - CentOS/RHEL 7: 7.29
 - RHEL 8/Rocky 8/EL 8: 7.61
 - Fedora 38: 7.87

RHEL/CentOS 7 reaches EOL mid 2024, so for PHP 8.4 scheduled towards the end of this year, we can safely
bump the minimum libcurl version.

7.61.0 was selected as the new minimum because RHEL and derivatives have libcurl-devel version 7.61. RHEL 8 is
a current and supported RHEL version.
Ayesh added a commit to Ayesh/php-src that referenced this pull request Jan 29, 2024
Bumps the minimum required libcurl version to 7.61.0.

Please also see php#4917, which bumped minimum libcurl version to the current >= 7.29.0.
This bumps the minimum requirement to Curl 7.61.0 (released 2018 Sept).

Ubuntu, Debian, RHEL, and RHEL derivatives have major and LTS version bumps this year. Following are the
libcurl-dev/libcurl-devel versions available in the oldest supported (LTS or otherwise) in major OSs.

 - Debian buster: [7.64](https://packages.debian.org/buster/libcurl4-openssl-dev)
 - Ubuntu 20.04: [7.68](https://packages.ubuntu.com/focal/libcurl-dev)
 - CentOS/RHEL 7: 7.29
 - RHEL 8/Rocky 8/EL 8: 7.61
 - Fedora 38: 7.87

RHEL/CentOS 7 reaches EOL mid 2024, so for PHP 8.4 scheduled towards the end of this year, we can safely
bump the minimum libcurl version.

7.61.0 was selected as the new minimum because RHEL and derivatives have libcurl-devel version 7.61. RHEL 8 is
a current and supported RHEL version.
Ayesh added a commit to Ayesh/php-src that referenced this pull request Jan 29, 2024
Bumps the minimum required libcurl version to 7.61.0.

Please also see php#4917, which bumped minimum libcurl version to the current >= 7.29.0.
This bumps the minimum requirement to Curl 7.61.0 (released 2018 Sept).

Ubuntu, Debian, RHEL, and RHEL derivatives have major and LTS version bumps this year. Following are the
libcurl-dev/libcurl-devel versions available in the oldest supported (LTS or otherwise) in major OSs.

 - Debian buster: [7.64](https://packages.debian.org/buster/libcurl4-openssl-dev)
 - Ubuntu 20.04: [7.68](https://packages.ubuntu.com/focal/libcurl-dev)
 - CentOS/RHEL 7: 7.29
 - RHEL 8/Rocky 8/EL 8: 7.61
 - Fedora 38: 7.87

RHEL/CentOS 7 reaches EOL mid 2024, so for PHP 8.4 scheduled towards the end of this year, we can safely
bump the minimum libcurl version.

7.61.0 was selected as the new minimum because RHEL and derivatives have libcurl-devel version 7.61. RHEL 8 is
a current and supported RHEL version.
Ayesh added a commit to Ayesh/php-src that referenced this pull request Jan 29, 2024
Bumps the minimum required libcurl version to 7.61.0.

Please also see php#4917, which bumped minimum libcurl version to the current >= 7.29.0.
This bumps the minimum requirement to Curl 7.61.0 (released 2018 Sept).

Ubuntu, Debian, RHEL, and RHEL derivatives have major and LTS version bumps this year. Following are the
libcurl-dev/libcurl-devel versions available in the oldest supported (LTS or otherwise) in major OSs.

 - Debian buster: [7.64](https://packages.debian.org/buster/libcurl4-openssl-dev)
 - Ubuntu 20.04: [7.68](https://packages.ubuntu.com/focal/libcurl-dev)
 - CentOS/RHEL 7: 7.29
 - RHEL 8/Rocky 8/EL 8: 7.61
 - Fedora 38: 7.87

RHEL/CentOS 7 reaches EOL mid 2024, so for PHP 8.4 scheduled towards the end of this year, we can safely
bump the minimum libcurl version.

7.61.0 was selected as the new minimum because RHEL and derivatives have libcurl-devel version 7.61. RHEL 8 is
a current and supported RHEL version.
Ayesh added a commit to Ayesh/php-src that referenced this pull request Jan 29, 2024
Bumps the minimum required libcurl version to 7.61.0.

Please also see php#4917, which bumped minimum libcurl version to the current >= 7.29.0.
This bumps the minimum requirement to Curl 7.61.0 (released 2018 Sept).

Ubuntu, Debian, RHEL, and RHEL derivatives have major and LTS version bumps this year. Following are the
libcurl-dev/libcurl-devel versions available in the oldest supported (LTS or otherwise) in major OSs.

 - Debian buster: [7.64](https://packages.debian.org/buster/libcurl4-openssl-dev)
 - Ubuntu 20.04: [7.68](https://packages.ubuntu.com/focal/libcurl-dev)
 - CentOS/RHEL 7: 7.29
 - RHEL 8/Rocky 8/EL 8: 7.61
 - Fedora 38: 7.87

RHEL/CentOS 7 reaches EOL mid 2024, so for PHP 8.4 scheduled towards the end of this year, we can safely
bump the minimum libcurl version.

7.61.0 was selected as the new minimum because RHEL and derivatives have libcurl-devel version 7.61. RHEL 8 is
a current and supported RHEL version.
Ayesh added a commit to Ayesh/php-src that referenced this pull request Jan 29, 2024
Bumps the minimum required libcurl version to 7.61.0.

Please also see php#4917, which bumped minimum libcurl version to the current >= 7.29.0.
This bumps the minimum requirement to Curl 7.61.0 (released 2018 Sept).

Ubuntu, Debian, RHEL, and RHEL derivatives have major and LTS version bumps this year. Following are the
libcurl-dev/libcurl-devel versions available in the oldest supported (LTS or otherwise) in major OSs.

 - Debian buster: [7.64](https://packages.debian.org/buster/libcurl4-openssl-dev)
 - Ubuntu 20.04: [7.68](https://packages.ubuntu.com/focal/libcurl-dev)
 - CentOS/RHEL 7: 7.29
 - RHEL 8/Rocky 8/EL 8: 7.61
 - Fedora 38: 7.87

RHEL/CentOS 7 reaches EOL mid 2024, so for PHP 8.4 scheduled towards the end of this year, we can safely
bump the minimum libcurl version.

7.61.0 was selected as the new minimum because RHEL and derivatives have libcurl-devel version 7.61. RHEL 8 is
a current and supported RHEL version.
Ayesh added a commit to Ayesh/php-src that referenced this pull request Jan 29, 2024
Bumps the minimum required libcurl version to 7.61.0.

Please also see php#4917, which bumped minimum libcurl version to the current >= 7.29.0.
This bumps the minimum requirement to Curl 7.61.0 (released 2018 Sept).

Ubuntu, Debian, RHEL, and RHEL derivatives have major and LTS version bumps this year. Following are the
libcurl-dev/libcurl-devel versions available in the oldest supported (LTS or otherwise) in major OSs.

 - Debian buster: [7.64](https://packages.debian.org/buster/libcurl4-openssl-dev)
 - Ubuntu 20.04: [7.68](https://packages.ubuntu.com/focal/libcurl-dev)
 - CentOS/RHEL 7: 7.29
 - RHEL 8/Rocky 8/EL 8: 7.61
 - Fedora 38: 7.87

RHEL/CentOS 7 reaches EOL mid 2024, so for PHP 8.4 scheduled towards the end of this year, we can safely
bump the minimum libcurl version.

7.61.0 was selected as the new minimum because RHEL and derivatives have libcurl-devel version 7.61. RHEL 8 is
a current and supported RHEL version.
Ayesh added a commit to Ayesh/php-src that referenced this pull request Jan 31, 2024
Bumps the minimum required libcurl version to 7.61.0.

Please also see php#4917, which bumped minimum libcurl version to the current >= 7.29.0.
This bumps the minimum requirement to Curl 7.61.0 (released 2018 Sept).

Ubuntu, Debian, RHEL, and RHEL derivatives have major and LTS version bumps this year. Following are the
libcurl-dev/libcurl-devel versions available in the oldest supported (LTS or otherwise) in major OSs.

 - Debian buster: [7.64](https://packages.debian.org/buster/libcurl4-openssl-dev)
 - Ubuntu 20.04: [7.68](https://packages.ubuntu.com/focal/libcurl-dev)
 - CentOS/RHEL 7: 7.29
 - RHEL 8/Rocky 8/EL 8: 7.61
 - Fedora 38: 7.87

RHEL/CentOS 7 reaches EOL mid 2024, so for PHP 8.4 scheduled towards the end of this year, we can safely
bump the minimum libcurl version.

7.61.0 was selected as the new minimum because RHEL and derivatives have libcurl-devel version 7.61. RHEL 8 is
a current and supported RHEL version.
Ayesh added a commit to Ayesh/php-src that referenced this pull request Jan 31, 2024
Bumps the minimum required libcurl version to 7.61.0.

Please also see php#4917, which bumped minimum libcurl version to the current >= 7.29.0.
This bumps the minimum requirement to Curl 7.61.0 (released 2018 Sept).

Ubuntu, Debian, RHEL, and RHEL derivatives have major and LTS version bumps this year. Following are the
libcurl-dev/libcurl-devel versions available in the oldest supported (LTS or otherwise) in major OSs.

 - Debian buster: [7.64](https://packages.debian.org/buster/libcurl4-openssl-dev)
 - Ubuntu 20.04: [7.68](https://packages.ubuntu.com/focal/libcurl-dev)
 - CentOS/RHEL 7: 7.29
 - RHEL 8/Rocky 8/EL 8: 7.61
 - Fedora 38: 7.87

RHEL/CentOS 7 reaches EOL mid 2024, so for PHP 8.4 scheduled towards the end of this year, we can safely
bump the minimum libcurl version.

7.61.0 was selected as the new minimum because RHEL and derivatives have libcurl-devel version 7.61. RHEL 8 is
a current and supported RHEL version.
Girgias pushed a commit that referenced this pull request Jan 31, 2024
Bumps the minimum required libcurl version to 7.61.0.

Please also see #4917, which bumped minimum libcurl version to the current >= 7.29.0.
This bumps the minimum requirement to Curl 7.61.0 (released 2018 Sept).

Ubuntu, Debian, RHEL, and RHEL derivatives have major and LTS version bumps this year. Following are the
libcurl-dev/libcurl-devel versions available in the oldest supported (LTS or otherwise) in major OSs.

 - Debian buster: [7.64](https://packages.debian.org/buster/libcurl4-openssl-dev)
 - Ubuntu 20.04: [7.68](https://packages.ubuntu.com/focal/libcurl-dev)
 - CentOS/RHEL 7: 7.29
 - RHEL 8/Rocky 8/EL 8: 7.61
 - Fedora 38: 7.87

RHEL/CentOS 7 reaches EOL mid 2024, so for PHP 8.4 scheduled towards the end of this year, we can safely
bump the minimum libcurl version.

7.61.0 was selected as the new minimum because RHEL and derivatives have libcurl-devel version 7.61. RHEL 8 is
a current and supported RHEL version.
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

Successfully merging this pull request may close these issues.

None yet

5 participants