PHP 8.2 Upgrade - Further steps
Posted: 25 March 2024, 16:36

Greetings, developers!
Exciting news ahead! We are thrilled to kick off the PHP 8.x transition officially. Presently, our primary focus is on PHP 8.2. As part of this transition phase, we have established a dedicated game server running the latest PHP version. If your game is compatible, it will seamlessly operate under either PHP 7.4 or 8.2, depending on the server's workload. Hence, it's imperative to ensure your games are functional with both PHP 7.4 and 8.2 throughout the migration process. This transition is expected to span a few weeks, affording you ample time to adapt your games accordingly.
In the coming days, keep an eye out for a new button in the studio, accessible from your game page details. This button empowers you to switch the PHP version of your game within the studio environment only, leaving the production environment unaffected. This flexibility allows you to test your game with different PHP versions without any impact on the live production environment.
We believe this upgrade will streamline your development workflow
Stay tuned as we will soon unveil the final roadmap and end-of-life date for PHP 7.4 on BGA.
To switch your game to PHP 8.2 on the production, follow these three steps:
1. Ensure your game is compatible with both PHP 7.4 and PHP 8.2 throughout the upgrade phase. Avoid utilizing PHP 8.x-specific features for now.
2. Once your game is ready and compatible with both PHP versions, utilize the Admin/PHP8 tag on the Games Metadata Manager page to enable your game to operate in production with either PHP version. You can remove the tag if any PHP compatibility issues arise.
3. Your game will operate in production on both PHP versions. While some game servers have already undergone migration, note that we cannot guarantee exclusive operation on PHP 8.2 even if marked as compatible.