Skip to content

Commit cca1f53

Browse files
author
Takashi Matsuo
committed
Use runtime:php for wordpress on flexible env.
1 parent 6e56565 commit cca1f53

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

appengine/wordpress/src/WordPressSetup.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class WordPressSetup extends Command
3333
const LATEST_BATCACHE =
3434
'https://downloads.wordpress.org/plugin/batcache.1.4.zip';
3535
const LATEST_MEMCACHED =
36-
'https://downloads.wordpress.org/plugin/memcached.2.0.4.zip';
36+
'https://downloads.wordpress.org/plugin/memcached.3.0.1.zip';
3737
const LATEST_GAE_WP =
3838
'https://downloads.wordpress.org/plugin/google-app-engine.1.6.zip';
3939

@@ -292,7 +292,6 @@ protected function execute(InputInterface $input, OutputInterface $output)
292292
'app.yaml' => '/',
293293
'cron.yaml' => '/',
294294
'composer.json' => '/',
295-
'Dockerfile' => '/',
296295
'gcs-media.php' => '/wordpress/wp-content/plugins/',
297296
'nginx-app.conf' => '/',
298297
'php.ini' => '/',

appengine/wordpress/src/files/flexible/Dockerfile

Lines changed: 0 additions & 2 deletions
This file was deleted.

appengine/wordpress/src/files/flexible/app.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ runtime: custom
22
vm: true
33

44
beta_settings:
5-
cloud_sql_instances: {{project_id}}:us-central1:{{db_instance}}
5+
cloud_sql_instances: {{project_id}}:us-central1:{{db_instance}}
66

7-
env_variables:
8-
DOCUMENT_ROOT: /app/wordpress
7+
runtime_config:
8+
document_root: wordpress

0 commit comments

Comments
 (0)