Skip to content

Commit b078b63

Browse files
authored
feat: update all runtimes to new PHP 8.1 runtime (GoogleCloudPlatform#1613)
1 parent 2d9e80c commit b078b63

File tree

19 files changed

+23
-18
lines changed

19 files changed

+23
-18
lines changed

appengine/standard/auth/app.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
runtime: php74
1+
runtime: php81
22

33
# Defaults to "serve index.php" and "serve public/index.php". Can be used to
44
# serve a custom PHP front controller (e.g. "serve backend/index.php") or to
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
runtime: php74
1+
runtime: php81

appengine/standard/front-controller/app.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
runtime: php74
1+
runtime: php81
22

33
# Defaults to "serve public/index.php" and "serve index.php". Can be used to
44
# serve a custom PHP front controller (e.g. "serve backend/index.php") or to

appengine/standard/getting-started/app.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# See https://cloud.google.com/appengine/docs/standard/php/config/appref for a
22
# complete list of `app.yaml` directives.
33

4-
runtime: php74
4+
runtime: php81
55

66
env_variables:
77
GOOGLE_STORAGE_BUCKET: ""

appengine/standard/grpc/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
];
99

1010
// Keeping things fast for a small number of routes.
11-
$regex = '/\/(' . join($routes, '|') . ')\.php/';
11+
$regex = sprintf('/\/(%s)\.php/', implode('|', $routes));
1212
if (preg_match($regex, $_SERVER['REQUEST_URI'], $matches)) {
1313
$file_path = __DIR__ . $matches[0];
1414
if (file_exists($file_path)) {

appengine/standard/helloworld/app.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
runtime: php74
1+
runtime: php81
22

33
# Defaults to "serve index.php" and "serve public/index.php". Can be used to
44
# serve a custom PHP front controller (e.g. "serve backend/index.php") or to

appengine/standard/laravel-framework/app-dbsessions.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
runtime: php74
1+
runtime: php81
22

33
env_variables:
44
## Put production environment variables here.

appengine/standard/laravel-framework/app.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
runtime: php74
1+
runtime: php81
22

33
env_variables:
44
## Put production environment variables here.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
runtime: php74
1+
runtime: php81

appengine/standard/memorystore/app.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This app.yaml is for deploying to instances of Cloud SQL running MySQL.
22
# See app-postgres.yaml for running Cloud SQL with PostgreSQL.
33

4-
runtime: php74
4+
runtime: php81
55

66
# [START gae_memorystore_app_yaml]
77
# update with Redis instance host IP, port

0 commit comments

Comments
 (0)