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

созданный 4y | 26 нояб. 2020 г., 17:20:19


Войдите, чтобы добавить комментарий

Другие сообщения в этой группе

Symfony 7.2.6 released

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

bug #60288 [VarExporter] dump default value for property hooks if present (@xabbuh)

bug #60267 [C

2 мая 2025 г., 12:40:05 | Symfony
Symfony 7.3.0-BETA1 released

Symfony 7.3.0-BETA1 has just been released. Here is the list of the most important changes since 7.2:

feature #60232 Add PHP config support for routing (@fabpot)

feature #60102 [HttpFoundation] A

2 мая 2025 г., 12:40:04 | Symfony
SymfonyOnline June 2025 : Efficient Web Scraping with Symfony & PHP

SymfonyOnline June 2025 is almost here, starting in almost 2 months on:

June 10-11: Workshop days. It is possible to attend 1 two-day training or 2 one-day trainings. June 12-13: Online confe

2 мая 2025 г., 12:40:03 | Symfony
New in Symfony 7.3: Configurable Compound Rate Limiter

Contributed by Kevin Bond in

2 мая 2025 г., 10:20:09 | Symfony
Symfony 6.4.21 released

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

bug #60288 [VarExporter] dump default value for property hooks if present (@xabbuh)

bug #60268

2 мая 2025 г., 10:20:08 | Symfony
New in Symfony 7.3: Extra Runtime Dot Env Files

Contributed by Nathan Page in

1 мая 2025 г., 08:40:12 | Symfony
SymfonyOnline June 2025: Where Have the Women of Tech History Gone?

SymfonyOnline June 2025 is almost here, starting in almost 2 months on:

June 10-11: Workshop days. It is possible to attend 1 two-day training or 2 one-day trainings. June 12-13: Online confe

30 апр. 2025 г., 14:20:02 | Symfony