I tried to follow the instructions on
<https://cloud.google.com/appengine/downloads#Google_App_Engine_SDK_for_PHP>

When I start up the app engine with the hello world example like this:

```
go_appengine/dev_appserver.py --php_executable_path=/home/jan/php-5.4.25/installdir/bin/php-cgi helloworld/

```

I get a error in the console saying:
ERROR php\_runtime.py:348] The PHP runtime is not available

If I go to localhost:8080, I get:

> 
> The PHP interpreter specified with the --php\_executable\_path flag
>  ("/home/jan/php-5.4.25/installdir/bin/php-cgi") is not compatible with
>  the App Engine PHP development environment.
> 
> 
> No input file specified.
> 
> 
> 

I thought maybe they just refered to an old version or something in the docs, so I also tried the same method with php 5.5.30, and even just apt-get php5-cgi changing php\_executable\_path each time with the same result.

This is on a fresh install of ubuntu 14.04 on a VM.

Anyone know what's going on here?

EDIT:

app.yaml

```
application: helloworld
version: 1
runtime: php55
api_version: 1

handlers:
- url: /.*
  script: helloworld.php

```

OUTPUT:

```
INFO     2016-01-05 12:11:42,024 sdk_update_checker.py:229] Checking for updates to the SDK.
INFO     2016-01-05 12:11:42,299 sdk_update_checker.py:257] The SDK is up to date.
INFO     2016-01-05 12:11:42,355 api_server.py:205] Starting API server at: http://localhost:37460
INFO     2016-01-05 12:11:42,357 dispatcher.py:197] Starting module "default" running at: http://localhost:8080
INFO     2016-01-05 12:11:42,360 admin_server.py:116] Starting admin server at: http://localhost:8000
ERROR    2016-01-05 12:11:43,418 php_runtime.py:348] The PHP runtime is not available
Traceback (most recent call last):
  File "/appengine/google/appengine/tools/devappserver2/php_runtime.py", line 344, in new_instance
    self._check_binaries(php_executable_path, gae_extension_path)
  File "/appengine/google/appengine/tools/devappserver2/php_runtime.py", line 284, in _check_binaries
    cls._check_environment(php_executable_path, env)
  File "/appengine/google/appengine/tools/devappserver2/php_runtime.py", line 259, in _check_environment
    raise _PHPEnvironmentError(check_process_stdout)
_PHPEnvironmentError: No input file specified.

```