Skip to content

Updates PHP 8.1 and 8.2 native runtime dependencies #96

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

Merged
merged 36 commits into from
Jun 6, 2023

Conversation

joedixon
Copy link
Contributor

@joedixon joedixon commented May 16, 2023

This pull request bumps all dependencies to the latest versions. Most of these are minor increases, but a couple require a bit more context.

PHP

8.2 -> 8.2.5
8.1.8 -> 8.1.19

OpenSSL

This is the biggest jump. I have moved from v1.1.1 to v3.1. There is a smaller v1.1.1 patch release available, but it will only be supported until September so we will need to make this move at some stage.

Both PHP 8.1 and 8.2 support OpenSSL v3.

Libxml2

I have had to update the repository and build steps for libxml2.

We previously used to pull this in from http://xmlsoft.org/sources, but versions stopped being released there from v2.9.12 and the project seems to be using gitlab so I've updated accordingly.

Build Size

As you can see from the sizes.md file, the PHP8.1 build is 2MB larger than the current build.

I am yet to determine the reason for the growth, though my hunch would be the move from OpenSSL v1.1.1 to v3.1.

This increase means users on the cusp of the 250MB total deployment package size limit may well be pushed over the edge.

Copy link
Member

@GrahamCampbell GrahamCampbell left a comment

Choose a reason for hiding this comment

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

:shipit:

@anthonyvancauwenberghe
Copy link

@GrahamCampbell

Any eta on this being merged?

@GrahamCampbell
Copy link
Member

Not really in my hands. It's my understanding that it will be worked this month.

@joedixon joedixon marked this pull request as ready for review June 6, 2023 13:21
@joedixon joedixon merged commit c4d3249 into master Jun 6, 2023
@joedixon joedixon deleted the chore/version-audit branch June 6, 2023 13:23
@anthonyvancauwenberghe
Copy link

@joedixon when i redeploy on vapor it's still using the old php version. How do we (force) update the runtime?

@GrahamCampbell
Copy link
Member

This being merged does not mean that the new layers are available yet. The process of getting those built requires some manual steps.

@joedixon
Copy link
Contributor Author

joedixon commented Jun 9, 2023

Hey @anthonyvancauwenberghe we're phasing the rollout of the new runtimes so you should see the update sometime over the next couple of weeks.

@anthonyvancauwenberghe
Copy link

Thankyou. Is there an eta on this atm?

@joedixon
Copy link
Contributor Author

We're still phasing the rollout. If you wish to get started now, you could create a new environment which will automatically use the latest runtime.

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.

3 participants