Questions tagged [google-app-engine-php]

PHP language version of Google App Engine

PHP Runtime Environment for Google App Engine

Useful links:

118 questions
13
votes
4 answers

Laravel on App Engine Standard: The /srv/bootstrap/cache directory must be present and writable

I've been struggling with the Google App Engine Standard environment for a day now. The error is as follows: PHP Notice: Exception: The /srv/bootstrap/cache directory must be present and writable. in …
13
votes
3 answers

Use php extensions in Google Cloud App Engine

I'm trying to run a symfony4 application in the Google Cloud App Engine following this instructions. My app has a dependency which itself depends on php-gd. This extension seems to be unavailable since composer fails with the requested PHP extension…
7
votes
3 answers

502 Bad Gateway error - upstream sent too big header while reading response header from upstream

I'm using wordpress in Google App Engine. When I make a POST API, getting an Error : "upstream sent too big header while reading response header from upstream". which returns 502, Bad Gateway, nginx The data(JSON) i'm sending in POST API is around…
6
votes
1 answer

Adding labels to GCP log entries from GAE

Currently I'm using Symfony 4 on the Google App Engine Flex environment. I'm trying to add extra 'labels' to my log entries to help with debugging, I've been using a Stackdriver handler to log events, and I tried adding the new labels to the…
5
votes
0 answers

Google AppEngine createUploadUrl in node

In PHP, it is really easy to create an upload url with an endpoint that get's hit after the file is uploaded. Documentation Here $options = ['gs_bucket_name' => $my_bucket]; $upload_url = CloudStorageTools::createUploadUrl('/upload/handler',…
5
votes
1 answer

Automating wildcard subdomain for users GAE

I have an app engine instance project under let's say: cloud.domain.com My goal is to be able to give a user of my a unique url that they can then map to their own domain using a CNAME record. Basically how you would connect to a domain to a…
bryan
  • 8,879
  • 18
  • 83
  • 166
4
votes
1 answer

Reaching quota for ip address in use too fast for App engine

I have a webserver running in App Engine and the client is a mobile app. I am seeing that a lot of requests on the mobile are starting to fail once we scaled up to a lot of users. I am not seeing any failures in our logs however. I noticed in our…
3
votes
1 answer

Unable to get Google App Engine PHP tutorial working

I'm following the GAE PHP tutorial but I can't get the local dev server to respond properly. I run it with dev_appserver.py --php_executable_path=/usr/bin/php --host=192.168.33.44 ./ and it starts up fine. When I view http://192.168.33.44:8080/…
Chris Armitage
  • 357
  • 5
  • 11
2
votes
2 answers

Google App Engine error "Upstream sent too big header"

I am running a Laravel app with Google App Engine Standard PHP 7.2, with Elfinder package. Today, I receive 502 error while trying to access Elfinder. Upon analyzing the log, I found this particular error: 96 upstream sent too big header while…
Unknown
  • 77
  • 8
2
votes
2 answers

Class 'Way\Generators\GeneratorsServiceProvider' not found

I’m attempting to get Laravel running on Google App Engine Standard. I already had it working on flexible, but requirements changed and we need standard now. I’m using the PHP 7.2 environment with Laravel 5.7. The deploy works but when trying to…
2
votes
0 answers

Google Cloud App Engine Standard not support gzip?

Currently I develop REST API using laravel framework and I deploy it to both Google Cloud App Engine Standard and Flexible version. When I deploy it to flexible version, it works fine. However, since my app still prototype, I want to change it to…
2
votes
0 answers

Getting ZONE_RESOURCE_POOL_EXHAUSTED

I'm using Google App Engine Flexible and some kind of rolling restart happened last night and my instance failed right after. Looking at logs, I see this on new instance creation: ZONE_RESOURCE_POOL_EXHAUSTED This appears to be related to this:…
2
votes
1 answer

ERROR: (gcloud.app.deploy) INVALID_ARGUMENT "version.entrypoint.shell". This can be an empty value

i using bellow command to deploy php app to app engine: gcloud app deploy --promote --project test12 app-live.yaml --log-http --verbosity=debug My app-live.yaml file: runtime: php72 api_version: 1 env_variables: VERSION: '2.0' APP_MODE:…
HoangWeb
  • 51
  • 2
  • 4
2
votes
1 answer

document_root on Google App Engine not recognized

I'm running a Symfony 4 app on Google App Engine with a flexible environment config. public/index.php is the index path from the project root. I have defined a document_root: public, but it is not recognized. For…
Coder1
  • 13,139
  • 15
  • 59
  • 89
2
votes
0 answers

GAE Standard Php, Linux development server error

Using the Google Cloud SDK, as opposed to the App Launcher that is being phased out, I'm trying to setup the development Php environment on a Linux host. I've got the recommended Php version installed and here are the results of attempting to start…
George
  • 61
  • 4
1
2 3 4 5 6 7 8