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 4y | 26 nov. 2020 à 17:20:19


Connectez-vous pour ajouter un commentaire

Autres messages de ce groupe

SymfonyOnline January 2025: Join us in 2 weeks!

Get ready for the exciting SymfonyOnline January 2025, kicking off shortly on January 16-17! There’s still time to register and join the international online Symfony conference—along with pre-

2 janv. 2025 à 12:50:08 | Symfony
Symfony 6.4.17 released

Symfony 6.4.17 has just been released. Here is the list of the most important changes since 6.4.16:

bug #59304 [PropertyInfo] Remove @internal from PropertyReadInfo and PropertyWriteInfo (Dario G
31 déc. 2024 à 16:50:11 | Symfony
Symfony 7.1.10 released

Symfony 7.1.10 has just been released. Here is the list of the most important changes since 7.1.9:

bug #59304 [PropertyInfo] Remove @internal from PropertyReadInfo and PropertyWriteInfo (Dario Gu
31 déc. 2024 à 16:50:10 | Symfony
Symfony 7.2.2 released

Symfony 7.2.2 has just been released. Here is the list of the most important changes since 7.2.1:

bug #59304 [PropertyInfo] Remove @internal from PropertyReadInfo and PropertyWriteInfo (Dario Gua
31 déc. 2024 à 16:50:10 | Symfony
A Week of Symfony #939 (23-29 December 2024)

This week, we launched the new Twig playground, a tool that lets you test and experiment with Twig features in a safe, sandboxed environment. While Symfony development activity was lighter than usual

29 déc. 2024 à 11:30:09 | Symfony
Introducing the new Twig Playground

I'm very excited to announce the launch of Twig Playground, a new tool that allows you to test and experiment with Twig templates in a sandbox environment. It is entirely web-based, with no backend.

26 déc. 2024 à 16:20:14 | Symfony
A Week of Symfony #938 (16-22 December 2024)

This week, Symfony development activity focused on fixing bugs in maintenance versions and adding new features for the upcoming Symfony 7.3 release. Meanwhile, we published blog posts about the new Tw

22 déc. 2024 à 10:20:10 | Symfony