When can we expect 8.4 support?
Thanks for getting the PHP 8.4 feature request started!
We started upgrading our CI/CD pipelines that build PHP and compiling it this morning across the various OSes - should be very soon!
Reminder that PHP releases don’t require a new version of Local, so when they’re ready to release they’ll appear in your current version of Local. I’ll post here too just so people are aware when they should be dropping.
Thanks, Austin!
any updates
It’s been three months since you said “very soon”, what’s the status?
I’m sure many want to implement property hooks from PHP 8.4 in their local development.
Thanks Austin.
@SpiZeak We hit some snags compiling for Windows and macOS Intel (each time we update PHP, Local custom-compiles the binaries for the four platforms we support to include extension support for each new version — it’s not just a case of downloading the binaries and shipping them with Local).
We’re working through this, though, and we’ll post here when PHP 8.4 is available. Thanks for your patience!
Thank you for your response, hope you manage to find a way
abandon INTEL compatibility
It’s now been almost a month since the last official reply. Are we any closer to getting PHP 8.4 support?
Are we any closer to getting PHP 8.4 support?
@arecian Yes! We’ve compiled 8.4 successfully with extensions on all platforms, and just deployed to our beta server for testing. If you’d like to test it you can use the latest Local beta, where you’ll see PHP 8.4 in the list for “custom” sites. (Note that Local beta maintains a separate site list — you won’t see your existing sites when using it.)
We’re still testing across platforms before we release to production, though. There is one known issue so far on Windows:
- Windows 10/11: PHP 8.4 currently won’t start without manually installing the latest Windows redist C++ dlls (2022), unless you happen to have those on your system already for development or another application. We’re exploring a fix involving bundling the updated redist with a new version of Local.
Thank you! Just to be clear, I thought that new versions of PHP would not require a new Local update. Is that no longer the case?
@arecian You don’t have to update Local to user newer PHP/MySQL versions because Local can download PHP and MySQL versions separately. But it’s generally better to update Local when you can.
Newer versions of Local update dependencies and bundled tools for compatibility with newer PHP versions. For example, Local Beta 9.2.3:
- Updates composer to support PHP 8.4.
- Includes Microsoft’s latest Visual C++ Redistributable for Windows compatibility with PHP 8.4.
But — if you wanted to — you could use an older version of Local to run PHP 8.4.4 on Windows. You just may have to install the C++ redist dlls manually (not required on macOS/Linux), and you may run into error messages from composer if using it or site shells with sites running PHP 8.4 (on all OSs, not just Windows).
I mean will we have to update Local to get new versions of PHP in the future. Previously it was said that you guys changed that so you could ship new PHP versions into Local without requiring a Local update?
The post telling me to download Local beta to get PHP 8.4 is what made me question it.
Local Beta is a separate version that we use to rollout now and fairly stable features for testing before releasing it to stable.
Things are looking pretty good and if there aren’t any regressions, then we’ll likely move to release these things to the stable version of Local. When we do that, the new version of PHP will be available to older versions of Local Stable.
Hi Ben,
Can new major php versions (like 8.4, 8.5 etc) be shipped to Local without requiring that you also push out a Local version to ship the update?
@arecian Hi - yes, as Ben and Nick said, PHP updates do not require that users update their version of Local.
The updated Local versions mentioned are “quality of life improvements” that address common errors users might run into. If users choose not to update Local, they will be able to use PHP 8.4, though they made need to make updates to their computer to play nicely with the new version.