其次谷歌官方应用程序引擎页面上给出了安装SDK的PHP的>谷歌应用程序引擎的PHP可执行文件路径
https://developers.google.com/appengine/docs/php/gettingstarted/helloworld
步骤,但我得到了我的浏览器这个错误在打开本地主机。
The path specified with the --php_executable_path flag() does not exist.
如何设置呢? 安装在Ubuntu上。
其次谷歌官方应用程序引擎页面上给出了安装SDK的PHP的>谷歌应用程序引擎的PHP可执行文件路径
https://developers.google.com/appengine/docs/php/gettingstarted/helloworld
步骤,但我得到了我的浏览器这个错误在打开本地主机。
The path specified with the --php_executable_path flag() does not exist.
如何设置呢? 安装在Ubuntu上。
当通过脚本启动dev appserver时,可以通过--php_executable_path
指向您的php可执行文件的位置。该错误的原因是,它无法找到路径等的PHP看。请参阅documentation for example。
$ google_appengine/dev_appserver.py --php_executable_path=/opt/local/bin/php-cgi54 path/to/your/app
安装PHP5-CGI:
sudo apt-get install php5-cgi
运行的应用程序:
dev_appserver.py --php_executable_path=/usr/bin/php-cgi path/to/your/app
UPDATE:在Linux上使用 sudo apt-get install php-cgi dev_appserver.py --php_executable_path=/usr/bin/php-cgi app.yaml
小时后,终于 –