Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google app engine php executable path not found

Followed the steps given on the official google app engine page for installing the sdk for php->

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

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

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

How to set it ? Installed on Ubuntu.

like image 555
Anoop Kanyan Avatar asked Feb 14 '23 08:02

Anoop Kanyan


1 Answers

When starting dev appserver via the script one can pass in --php_executable_path pointing to the location of your php executable. The reason for the error is that it was unable to find php looking in the path and such. See documentation for example.

$ google_appengine/dev_appserver.py --php_executable_path=/opt/local/bin/php-cgi54 path/to/your/app
like image 133
boombatower Avatar answered Feb 17 '23 10:02

boombatower