未找到Google应用引擎php可执行路径 [英] Google app engine php executable path not found
问题描述
按照官方的谷歌应用程序引擎页面上给出的步骤安装sdk for php - >
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.
如何设置?
安装在Ubuntu上。
How to set it ? Installed on Ubuntu.
推荐答案
当通过脚本启动dev appserver时,可以传入 --php_executable_path
指向你的php可执行文件的位置。该错误的原因是,它无法找到路径等的PHP看。请参阅文档。
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
这篇关于未找到Google应用引擎php可执行路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!