Running PHP (CodeIgniter) on Google App Engine, about a third of the time when the page loads the following error occurs...
500 Server Error Error: Server Error The server encountered an error and could not complete your request. Please try again in 30 seconds.
..and in the app engine log:
A problem was encountered with the process that handled this request, causing it to exit. This is likely to cause a new process to be used for the next request to your application. (Error code 204)
On-refresh the page loads correctly about 2 out of 3 times. Configuration settings:
php.ini
google_app_engine.enable_functions = "php_sapi_name, gc_enabled"
display_errors = on
allow_url_fopen = on
apc.cache_by_default = 0
apc.enabled = 0
app.yaml
application: APP_NAME_ABC123
version: 1
runtime: php
api_version: 1
handlers:
- url: /img
static_dir: img
- url: /app
static_dir: app
- url: /
script: index.php
- url: /.*
script: index.php