我正在尝试为本地开发构建GAE PHP运行时扩展。我遵循了中所述的说明https://github.com/GoogleCloudPlatform/appengine-php-extension
当运行.config时,我得到以下错误:
configure:error:无效的protobuf include-path/home/sergio/Workspace/aappengine php扩展
配置命令:
/configure--enable-gae--with-protobuf_inc=/home/sergio/工作区/appengine-php-estrength--with-proto buf_lib=/home/servgio/工作区/aappengine-pp-strength
/home/sergio/Workspace/aappengine php扩展是在指令的第二步创建的头文件和库的绝对路径:
将和设置为上一步中安装的protobuf标头和库的绝对路径,通常为/usr/local/include和/usr/local/lib。
我尝试过使用/usr/local/include和/usr/local/lib。也没用。有人知道我错过了什么吗?
对于您的项目来说,这是绝对必要的自定义appengine php扩展。默认情况下,您可以使用应用程序引擎php。
仅下载谷歌云sdk:https://cloud.google.com/sdk/docs/?hl=es
安装php扩展后:
gcloud components install app-engine-php