You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/runtimes.mdx
+9-6Lines changed: 9 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ The runtimes are available as AWS Lambda layers that you can use (explained belo
23
23
24
24
### PHP-FPM runtime for web apps
25
25
26
-
Name: `php-83-fpm`, `php-82-fpm`, `php-81-fpm`, and `php-80-fpm`.
26
+
Name: `php-84-fpm`, `php-83-fpm`, `php-82-fpm`, `php-81-fpm`, and `php-80-fpm`.
27
27
28
28
This runtime uses PHP-FPM to run **web applications** on AWS Lambda, like on a traditional server.
29
29
@@ -33,7 +33,7 @@ It's **the easiest to start with**: it works like traditional PHP hosting and is
33
33
34
34
### Event-driven functions
35
35
36
-
Name: `php-83`, `php-82`, `php-81`, and `php-80`.
36
+
Name: `php-84`, `php-83`, `php-82`, `php-81`, and `php-80`.
37
37
38
38
AWS Lambda was initially created to run _functions_ (yes, functions of code) in the cloud.
39
39
@@ -49,7 +49,7 @@ This runtime works great to create **event-driven micro-services**.
49
49
50
50
### Console
51
51
52
-
Name: `php-83-console`, `php-82-console`, `php-81-console`, and `php-80-console`.
52
+
Name: `php-84-console`, `php-83-console`, `php-82-console`, `php-81-console`, and `php-80-console`.
53
53
54
54
This runtime lets you run CLI console commands on Lambda.
55
55
@@ -77,23 +77,24 @@ functions:
77
77
runtime: php-81-console
78
78
```
79
79
80
-
Bref currently provides runtimes for PHP 8.0, 8.1, 8.2and 8.3:
80
+
Bref currently provides runtimes for PHP 8.0, 8.1, 8.2, 8.3 and 8.4:
81
81
82
+
- `php-84`
82
83
- `php-83`
83
84
- `php-82`
84
85
- `php-81`
85
86
- `php-80`
87
+
- `php-84-fpm`
86
88
- `php-83-fpm`
87
89
- `php-82-fpm`
88
90
- `php-81-fpm`
89
91
- `php-80-fpm`
92
+
- `php-84-console`
90
93
- `php-83-console`
91
94
- `php-82-console`
92
95
- `php-81-console`
93
96
- `php-80-console`
94
97
95
-
Bref also provides runtimes for alpha versions of PHP 8.4.
96
-
97
98
<Callout>
98
99
`php-80`means PHP 8.0.\*. It is not possible to require a specific "patch" version. The latest Bref versions always aim to support the latest PHP versions, so upgrade via Composer frequently to keep PHP up to date.
99
100
</Callout>
@@ -177,10 +178,12 @@ functions:
177
178
178
179
The `${...}` notation is the [syntax to use variables](https://serverless.com/framework/docs/providers/aws/guide/variables/) in `serverless.yml`. The Bref plugin provides the following variables:
0 commit comments