Skip to content

Upgrade bundled PHP to 8.3.9 #20

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 2 commits into from
Aug 28, 2024
Merged

Upgrade bundled PHP to 8.3.9 #20

merged 2 commits into from
Aug 28, 2024

Conversation

cmb69
Copy link
Member

@cmb69 cmb69 commented Jul 19, 2024

I've downloaded https://windows.php.net/downloads/releases/php-8.3.9-nts-Win32-vs16-x64.zip, and replaced the respective files.

Note that this is untested so far. The bundled PHP is used for several tasks; grep for PHP_SDK_PHP_CMD to see them. I think we need to ensure that the bundled PHP code isn't broken by upgrading from 8.0.20 to 8.3.9. Maybe some user will want to help with that testing.

Since the bundled may also be used for some custom stuff, we might break things, but of course we can't test that; and such users can stick with php-sdk-2.3.0 for the time being, anyway.

@nono303
Copy link

nono303 commented Jul 19, 2024

Hi @cmb69
⚠️ Might be an issue building on Windows 7 (see php/php-src#12762)

@Jan-E
Copy link
Contributor

Jan-E commented Jul 19, 2024

I think it is fair to drop Windows 7 and building PHP 7.1. See #18 (comment) as well.

@nono303
Copy link

nono303 commented Jul 19, 2024

As U want. personally not a windows 7 user (since few month 🤫) but as php 8.2 security support is ensured until 31 Dec 2026, might be a good compromise to allow 7 users to continue building...

@cmb69
Copy link
Member Author

cmb69 commented Jul 19, 2024

Oh, I had completely forgotten about that, and it's not documented at https://www.php.net/manual/en/install.windows.requirements.php (I'll update that shortly). So I'm not against upgrading to PHP 8.2 only, but on the other hand, users are supposed to used tagged versions of the PHP SDK anyway, and phpsdk-2.3.0 will still be available. And of course, everybody could just replace the bundled PHP with their own version.

@shivammathur, what do you think about ugrading to PHP 8.2 vs. 8.3.

As of PHP 8.2.0, ext/zip is no longer statically available, but since
it is needed by the PHP SDK (e.g. too unpack the fetched dependencies),
we include the DLL.
@shivammathur
Copy link
Member

@cmb69
Yes, we can upgrade to 8.3 in the next release.

@cmb69
Copy link
Member Author

cmb69 commented Aug 28, 2024

I've ran the php-sdk-binary-tools with 8.3.9 for quite a while now, and didn't notice any issues. Thus, I'm going to commit.

@cmb69 cmb69 merged commit dc48bef into php:master Aug 28, 2024
@cmb69 cmb69 deleted the cmb/php-8.3.9 branch August 28, 2024 18:40
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.

4 participants