Skip to content

Commit 42ca46a

Browse files
author
Takashi Matsuo
authored
Added google/appengine-php-sdk dep and updated the README (GoogleCloudPlatform#513)
* Added google/appengine-php-sdk dep and updated the README * Grammer fix on README
1 parent 1c68a2d commit 42ca46a

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

appengine/wordpress/README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,21 @@ $ vendor/bin/wp plugin update --all --path=wordpress
170170
$ vendor/bin/wp theme update --all --path=wordpress
171171
```
172172

173+
If you're using App Engine Standard, You may get the following error:
174+
175+
```
176+
Failed opening required 'google/appengine/api/urlfetch_service_pb.php'
177+
```
178+
179+
You can set a `WP_CLI_PHP_ARGS` environment variable to add
180+
`include_path` PHP configuration for wp-cli.
181+
182+
```
183+
$ export WP_CLI_PHP_ARGS='-d include_path=vendor/google/appengine-php-sdk'
184+
```
185+
186+
Then try the above commands again.
187+
173188
### Remove plugins/themes
174189

175190
First Deactivate them in the production Dashboard, then remove them
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"require-dev": {
3+
"google/appengine-php-sdk": "^1.9",
34
"wp-cli/wp-cli": "~1.1"
45
}
56
}

0 commit comments

Comments
 (0)