SymfonyCloud: PHP 8 is available right now

The PHP team has just released PHP 8.0 moments ago 👏! I am happy to announce that you can deploy your applications using PHP 8.0 on SymfonyCloud right now 🎉: 1 2 3 4 5 6 7 8 9 10--- a/.symfony.cloud.yaml +++ b/.symfony.cloud.yaml @@ -1,6 +1,6 @@ name: app

-type: php:7.4 +type: php:8.0

runtime: sizing_hints:

While the majority of PHP extensions work right away, some third-party extensions are not yet available and will give an error if you try to deploy with those enabled. Some libraries (like Doctrine) might not be compatible at the moment as well. Thanks to SymfonyCloud environments, you can give it a try without breaking your production: 1 2 3 4$ symfony env:create php-8 $ vim .symfony.cloud.yaml $ git add -u && git commit 'PHP 8 is here!' $ symfony deploy

As for every new version of PHP, developer ergonomics, performance, and security are all improved. One of the most anticipated features is probably the JIT - Just In Time - compilation. The JIT compiler promises some performance improvements. In order to enable it, don’t forget to define the jit_buffer_size PHP setting: 1 2 3 4 5 6 7 8 9 10--- a/.symfony.cloud.yaml +++ b/.symfony.cloud.yaml @@ -21,6 +21,7 @@ runtime: variables: php: opcache.preload: /app/config/preload.php

  • opcache.jit_buffer_size: 100M

    relationships: database: "database:postgresql"

                Sponsor the Symfony project.

http://feedproxy.google.com/~r/symfony/blog/~3/PCUPF5nPV1U/symfonycloud-php-8-is-available-right-now

Établi 5y | 26 nov. 2020, 17:20:19


Connectez-vous pour ajouter un commentaire

Autres messages de ce groupe

A Week of Symfony #972 (August 11–17, 2025)

This week, development activity mostly focused on dealing with the deprecation of sleep/wakeup methods in PHP 8.5 and their replacement by serialize/unserialize methods. In addition, we published more

17 août 2025, 08:30:06 | Symfony
Let’s build the Symfony AI ecosystem together

It’s been only in July that we published symfony/ai and kicked off our AI initiative, but the repository has been busy since day one. Over 500 stars, more than 200 pull requests & issues, trending

16 août 2025, 09:30:03 | Symfony
SymfonyCon Amsterdam 2025:   Unconference Track at SymfonyCon Amsterdam 2025

🎤 Take the stage at SymfonyCon Amsterdam 2025, on your own terms!

The Unconference track is back and more dynamic than ever!

This unique, participant-driven format invites attendees to shape

12 août 2025, 12:40:20 | Symfony
A Week of Symfony #971 (August 4–10, 2025)

This week, Symfony completed the migration to PHPUnit 12 in the 7.4 branch, which required many changes during the past weeks, such as replacing annotations with attributes. In addition, we updated th

10 août 2025, 09:40:09 | Symfony
SymfonyCon Amsterdam 2025:  Join the Symfony Hackathon:  Collaborate, Contribute, Create

🧑‍💻HACKDAY IS COMING!

Get ready to code, collaborate, and contribute, Symfony Hackday is back!

Join us in Amsterdam on Saturday, November 29th, for a hands-on hackathon designed to bring the

6 août 2025, 10:40:04 | Symfony
A Week of Symfony #970 (July 28 – August 3, 2025)

This week, Symfony released the maintenance versions 6.4.24, 7.2.9, and 7.3.2. Meanwhile, we began deprecating the XML configuration format in some components, enhanced the YAML configuration format t

3 août 2025, 08:30:03 | Symfony
Symfony 6.4.24 released

Symfony 6.4.24 has just been released. Read the Symfony upgrade guide to learn more about upgrading Symfony and use the SymfonyInsight upgrade reports to detect the code you will need to change in you

31 juil. 2025, 13:10:32 | Symfony