Questions tagged [google-app-engine-php]

PHP language version of Google App Engine

PHP Runtime Environment for Google App Engine

Useful links:

118 questions
0
votes
4 answers

How to separately shut down App Engine services?

I have several services in App Engine, how can I shut down (stop) them separately?
ProgZi
  • 1,028
  • 3
  • 14
  • 25
0
votes
1 answer

Make database migrations in symfony application on google app engine

I've developer version of my symfony 4 application on google app engine (flexible). My code is on github than I make cloud build where I run my tests and build/deploy my application to app engine. Because it's a developer version it will be nice to…
0
votes
1 answer

App Engine Cloud Task keeps throwing 500 error but works when calling the URL manually

The request works on my local and when calling it in the browser manually on app engine but the background tasks keeps throwing a 500 error and the default logs are useless: 2019-10-05 11:37:48.509 ICT The request failed because the instance could…
0
votes
1 answer

How to set file permissions in google cloud app engine

How can I change the file permissions of a .json to allow all website visitors to write to it? I have a PHP based website in google cloud app engine that makes a basic phone book that is editable using a .json to store the data. Once you login, You…
0
votes
1 answer

php7 routing in app engine fails in local environment

According to the docs found here: https://cloud.google.com/appengine/docs/standard/php7/runtime#application_startup My app, is able to serve up index.php, without defining any handlers in my app.yaml file, which it does. Great! However, that same…
0
votes
2 answers

Google App Engine service serving the default files

I have two different services in my App Engine app, called auth and app. The auth service works perfectly fine, the images, css, js, and php are all served and executed properly. The auth service was also my default service when I first launched the…
0
votes
1 answer

Hello World PHP example for storing & reading a file in free Google Cloud Storage bucket from Google Apps Engine

I couldn't find out there a PHP tutorial for storing a file in the free bucket of a Google Apps Engine project and retrieving its contents. The idea of this post is to do it step by step assuming the GAE project was correctly created. 1) If you…
0
votes
1 answer

How to properly deploy PHP app with Firestore on Google Cloud Platform?

I'm setting up a PHP app with Cloud Firestore on Google Cloud Platform based on https://github.com/googleapis/google-cloud-php-firestore. After deploying to App Engine, I see that "new FirestoreClient();" doesn't work, but the same code runs…
0
votes
1 answer

Getting inconsistent 500 error - inconsistent Error code 204 on Google App Engine PHP Standard

Recently one of our sites got suspended by Google Ads due to "Destination Not Working". When I talked with Google Support they told me that my site is not accessible from all location globally. Then I tried to investigate, the site is hosted on…
0
votes
1 answer

Google App Engine Instance - Strange behavior PHP

I have some strange behavior in Google App Engine (PHP). I have deployed first version of my application in App Engine. I click on the Service, no response. The network shows "(failed)". Ok so my guess is that there is no instance running. I…
0
votes
1 answer

How to change php version (runtime) in App Engine on Google Cloud Platform?

I created an application in App Engine on Google Cloud Platform. It uses PHP 5.5 by default. I can see it in app.yaml: runtime: php55 api_version: 1 How can I change to php 7.2? I haven't found any information in google documentation on that.
0
votes
0 answers

GAE deployment failing

I'm using GAE for a Laravel PHP site and using flex instances. I've always had no problem doing a "gcloud app deploy" to get my app deployed. However, for the last 24 hours or so when I attempt to deploy I get the following error: Step #1: Package…
0
votes
1 answer

Google App Engine - Mail() attachment

I can successfully send emails with App Engine Mail API, but i cannot find the problem for why the attachment do not get attached in email. My code looks like this: // Pull in the raw file data of the image file to attach it to the…
0
votes
1 answer

mysqli works fine on local machine, but not on Google App Engine, what's wrong?

I am trying to write a simple plain PHP page, that connects to Cloud SQL using mysqli. It works fine on my local machine, when I turn on the Cloud SQL proxy. BUT! it does not work on the Google App Engine. I have tried: changing 127.0.0.1 to the…
0
votes
1 answer

Secure SOAP Server in Google App Engine Standard (Python or PHP)

I have a project to connect with Banks in Chile and they communicate only with secured SOAP services (exchanging SSL keys). I need to implement both client (from my app to banks servers) and server (the bank will make SOAP request to my GAE app)…