Questions tagged [google-app-engine-php]

PHP language version of Google App Engine

PHP Runtime Environment for Google App Engine

Useful links:

118 questions
2
votes
0 answers

OpenSSL public key and private key generation failed in GAE

I just wrote a simple PHP function that generate public key and private key pair. Locally, it works great. But in Google App Engine, it doesn't produce any key pair. I check that all necessary PHP functions are exists in GAE. But why this is not…
Shaharia Azam
  • 1,948
  • 19
  • 25
2
votes
4 answers

How do I download a specific service's source code off of AppEngine?

I have some php source code working in an app engine production environment that won't work anywhere else. Old versions of that code don't seem to work at all either so I need to get that source and see what the heck it is doing differently. This…
2
votes
2 answers

My GAE App is so Slow, A lots of "HTTP(503) from Unknown Origin" in Logs

In the last two days my GAE App sometimes response quickly and most of the times loading so slow or loading forever. Same application version in another domain works just fine. I checked my logs to see any errors and I surprised with a lots of…
2
votes
1 answer

Google App Engine URL Routing with App.Yaml for Static resource and Script

I am busy migrating a app into the GAE. I used to utilize timthumb.php to resize images on demand from within a static img folder. From the same folder I used to serve static images aswel. eg: example.com/img/image_name.jpg …
preschool
  • 183
  • 1
  • 11
2
votes
1 answer

Ubuntu - Right protobuf paths for ./configure command

I am following Google official documentation for GAE (Google app engine) installation. Look at this part (relative to gae php extension): https://github.com/GoogleCloudPlatform/appengine-php-extension ./configure --enable-gae…
Igor Carmagna
  • 957
  • 1
  • 10
  • 34
2
votes
2 answers

Google App Engine PHP SDK - How to install on Ubuntu (15.10)?

Google official documentation is available here: https://cloud.google.com/appengine/downloads#Google_App_Engine_SDK_for_PHP But it doesn't provide sufficient information about the following step: "4 - Build and install the PHP interpreter and App…
Igor Carmagna
  • 957
  • 1
  • 10
  • 34
1
vote
2 answers

Laravel PHP 8.1 on GCP APP engine deploying error

I use cloud build trigger to build my first APP Engine, but I keep receiving following message. "There is no PHP runtime version specified in composer.json, or we don't support the version you specified. Google App Engine uses the latest 7.3.x…
1
vote
1 answer

Trying to install wordpress in google cloud flex appengine; getting error in "gcloud app deploy"

I am following the steps at https://cloud.google.com/php/tutorials/wordpress-app-engine-flexible. I am on ubuntu 22. The "gcloud app deploy --promote --stop-previous-version app.yaml cron.yaml" step fails with an error: Step #2: Using PHP version:…
1
vote
0 answers

Codeigniter 4 on Google App Engine Standard Cache unable to write to /tmp/cache/

I want to deploy Codeigniter 4 to the google app engine, success deploy but after I open the site it says the error "Cache unable to write to /tmp/cache/." i change the app/Config/Paths.php from public $writableDirectory = __DIR__ .…
1
vote
1 answer

google.appengine.tools.devappserver2.errors.InvalidAppConfigError

Getting below error after runnnig command "dev_appserver.py C:\Newfolder" google.appengine.tools.devappserver2.errors.InvalidAppConfigError: In env: flex, only the following runtimes are allowed: ('python-compat', 'java', 'java7', 'go', 'custom') I…
1
vote
3 answers

Deploy Laravel 6 App on Google App Engine Standard Error: Please provide a valid cache path

I've been trying to deploy my Laravel 6 App to the standard environment of Google App Engine the whole day, but seems like I'm just stuck at how to make cache and some "local" files to work. This is the error I get when I try to load any page: (1/1)…
1
vote
1 answer

How to redirect HTTP to HTTPS in Google App Engine Flexible in PHP7 Environment?

According to Google docs I added the following to app.yaml file: handlers: - url: /.* script: auto secure: always redirect_http_response_code: 301 After app's deployment when I enter http://example.com no redirection to https://example.com…
1
vote
1 answer

Laravel Google App Engine Public files not found

I am currently deploying a Laravel + Vue app on Google App Engine, and I have been able to set up the app on Google App Engine. However, after deployment, while the routes are accessible, none of the Image files, Stylesheets and Javascript files in…
1
vote
2 answers

google app engine Error reporting does not work

the last week my php flex app on app-engine has been causing error 500, sometimes. I dont have changed nothing in my code. But the strangest is that nothing is shown in the error reporting panel. Someone knows if there are new updates or something…
1
vote
1 answer

How to deploy a PHP + Webpack application on GAE

I have a PHP + React JS application that I'm trying to get deployed via Google App Engine Standard. I've set the app.yaml to use php73 though I'm using Webpack to package the JS via yarn (actually, using Symfony Encore, but that shouldn't…