From 00a1f6e75a3e53df68384d7d0a18ca4f714369cb Mon Sep 17 00:00:00 2001 From: David Legrand Date: Tue, 17 Dec 2024 11:08:41 +0100 Subject: [PATCH] changelog: PHP 8.4.2 --- .../changelog/2024-12-19-php-8.4-update.md | 27 +++++++++++++++++++ content/doc/applications/php/_index.md | 5 ++++ data/runtime_versions.yml | 1 + 3 files changed, 33 insertions(+) create mode 100644 content/changelog/2024-12-19-php-8.4-update.md diff --git a/content/changelog/2024-12-19-php-8.4-update.md b/content/changelog/2024-12-19-php-8.4-update.md new file mode 100644 index 00000000..314bc735 --- /dev/null +++ b/content/changelog/2024-12-19-php-8.4-update.md @@ -0,0 +1,27 @@ +--- +title: "PHP 8.4.2 is available, symfony-cli included" +date: 2024-12-19 +tags: + - images + - update +authors: + - name: David Legrand + link: https://github.com/davlgd + image: https://github.com/davlgd.png?size=40 +description: FrankenPHP is next to come +excludeSearch: true +--- + +We deployed an updated PHP image with no impact for our users. + + * Composer 2.8.4 + * PHP 8.4.2 support + * symfony-cli 5.10.5 + * Linux kernel 6.11.6 + * Redirection.io agent + +You can now use `8.4` as `CC_PHP_VERSION` environment variable, `8.3` is still the default for now. + +Only some extensions support PHP 8.4 for now: apcu, event, imap, memcache, mongodb, pspell, rdkafka, redis, ssh2, tideways, uploadprogress, zip. We'll add support for more extensions as they are released. + +* [PHP migration guide from 8.3 to 8.4](https://www.php.net/migration84) \ No newline at end of file diff --git a/content/doc/applications/php/_index.md b/content/doc/applications/php/_index.md index 0a1ff895..b3cc34a4 100644 --- a/content/doc/applications/php/_index.md +++ b/content/doc/applications/php/_index.md @@ -398,11 +398,16 @@ You can check enabled extensions and versions by viewing our `phpinfo()` example - [PHP 8.1](https://php81info.cleverapps.io) - [PHP 8.2](https://php82info.cleverapps.io) - [PHP 8.3](https://php83info.cleverapps.io) +- [PHP 8.4](https://php84info.cleverapps.io) **Warning**: some extensions need to be [enabled explicitly](#enable-specific-extensions) Clever Cloud PHP application enables the following PHP extensions by default: `amqp`, `bcmath`, `bz2`, `ctype`, `curl`, `date`, `dba`, `dom`, `exif`, `fileinfo`, `filter`, `ftp`, `gd`, `gettext`, `gmp`, `gRPC`, `hash`, `icon`, `imap`, `imagick`, `intl`, `json`, `ldap`, `libsodium`, `mbstring`, `mcrypt`, `memcached`, `memcache`, `mongodb`, `mysqli`, `mysqlnd`, `odbc`, `opcache`, `openssl`, `pnctl`, `pcre`, `PDO`, `pgsql`, `Phar`, `posix`, `protobuf`, `Pspell`, `random`, `readline`, `redis`, `reflection`, `session`, `simplexml`, `soap`, `sockets`, `solr`, `SPL`, `ssh2`, `sqlite3`, `tidy`, `tokenizer`, `xml`, `xmlreader`, `xmlwriter`, `xsl`, `zip`, `zlib` +{{< callout type="info" >}} +Only some extensions support PHP 8.4 for now: `apcu`, `event`, `imap`, `memcache`, `mongodb`, `pspell`, `rdkafka`, `redis`, `ssh2`, `tideways`, `uploadprogress`, `zip`. We'll add support for more extensions as they are released. +{{< /callout >}} + You can add `DISABLE_: true` in your [environment variable]({{< ref "doc/develop/env-variables.md" >}}) to disable them. If you have a request about modules, feel free to contact [Clever Cloud Support](https://console.clever-cloud.com/ticket-center-choice). diff --git a/data/runtime_versions.yml b/data/runtime_versions.yml index 7ae06583..93da0e74 100644 --- a/data/runtime_versions.yml +++ b/data/runtime_versions.yml @@ -16,6 +16,7 @@ PHP: - "8.1" - "8.2" - "8.3" + - "8.4" python: eol_source: "https://devguide.python.org/versions/#python-release-cycle" default: