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

Use OpenSSL 3.2 across all PHP versions #139

Closed
wants to merge 1 commit into from

Conversation

GrahamCampbell
Copy link
Contributor

@GrahamCampbell GrahamCampbell commented Nov 14, 2023

Is OpenSSL 3.2 really a good idea - it's not LTS? NodeJS is using it in version 21 (and eventually in 22), so I guess so. We can also keep upgrading, through the 3.x series, so I don't see any major issues here. ;)

Fixes brefphp/bref#1528, maybe? We will need to confirm. I know there are additional fixes coming in 3.3, slated for release in 6-7 months from now.


Yes, I'm using a beta version of openssl - the stable 3.2.0 release is coming in the next few days, and the PR will be updated then. OpenSSL 3.2.0 is now released.

@GrahamCampbell
Copy link
Contributor Author

cc @AngularProUser, @yh1224

@@ -384,6 +385,10 @@ ARG VERSION_PHP
RUN curl --location --silent --show-error --fail https://www.php.net/get/php-${VERSION_PHP}.tar.gz/from/this/mirror \
| tar xzC . --strip-components=1

COPY layers/openssl3.patch ${PHP_BUILD_DIR}
RUN patch -N -p1 -s < openssl3.patch
RUN rm openssl3.patch
Copy link
Member

Choose a reason for hiding this comment

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

As mentioned on Slack can you remove the patching for PHP 8.0?

My reasoning is:

  • 8.0 is no longer maintained (even security fixes)
  • this complicates the build

I'd rather keep things simple and keep 8.0 mostly for BC.

If you don't have time for this let me know, I can create a new PR based on this one.

@GrahamCampbell GrahamCampbell marked this pull request as ready for review November 24, 2023 11:12
@GrahamCampbell GrahamCampbell deleted the openssl-32 branch November 25, 2023 20:28
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.

Performance issues on Bref PHP 8.1 and Later
2 participants