Could not find Google PHP application executable

The following are the steps indicated on the official page of the Google engine for installing sdk for php →

https://developers.google.com/appengine/docs/php/gettingstarted/helloworld

but I get this error in my browser when opening localhost.

The path specified with the --php_executable_path flag () does not exist.

How to install it? Installed on Ubuntu.

+4
source share
3 answers

When you run dev appserver through a script, you can pass in a pointer --php_executable_pathto the location of your php executable. The reason for the error is that he could not find php looking for the path, etc. See documentation for example .

$ google_appengine/dev_appserver.py --php_executable_path=/opt/local/bin/php-cgi54 path/to/your/app
+7
source

php5-cgi:

sudo apt-get install php5-cgi

:

dev_appserver.py --php_executable_path=/usr/bin/php-cgi path/to/your/app
+2

UPDATE : when using Linux sudo apt-get install php-cgi dev_appserver.py --php_executable_path=/usr/bin/php-cgi app.yaml

0
source

All Articles