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
source
share