Config (PhpStorm 2017.2.3 + Google App Engine SDK PHP 1.9.57) Dir valid..?

六月ゝ 毕业季﹏ 提交于 2020-01-01 17:16:33

问题


I have a problem with the SDK.

What can be the problem with the path, in D:\Google\Cloud SDK\google-cloud-sdk\bin are the files shown in the last print.

I hope you can help me.

Print: https://s26.postimg.org/d4spx9usp/print_de_pantalla_64.jpg

Zoom Text: https://s26.postimg.org/aeje02y3t/print_de_pantalla_66.jpg

Tree Dir SDK Install: https://s26.postimg.org/sstx42aeh/print_de_pantalla_65.jpg

Version Google App Engine SDK PHP: https://s26.postimg.org/3pcuk2crt/print_de_pantalla_67.jpg


回答1:


I already found the solution to the problem, I leave it so that others can find it too, simple.

With just installing the Google App SDK PHP is not enough.

Then on the console you have to execute the following command.

gcloud components install app-engine-php

Creating the following folder is the one that searches for PHPStorm to take as valid the path.

Tree Dirs: https://s26.postimg.org/vhxwlkund/print_de_pantalla_70.jpg

Is ok set path SDK: https://s26.postimg.org/z824s7vvt/print_de_pantalla_71.jpg




回答2:


For Linux run: which gcloud

It will outputs something like this: /home/username/Desktop/google-cloud-sdk/bin/gcloud

PS: you may have different paths

Then Simply go to google-cloud-sdk folder and then platform folder in it. You will get google-appengine folder,

if not then probably sdk was not properly installed, just run this command again to install app-engine sdk

For Python: gcloud components install app-engine-python

For Others: Google App Engine




回答3:


If you use gcloud from ubuntu repositories, then the path for google-cloud-sdk is this one:

cd /usr/lib/google-cloud-sdk/platform/google_appengine/



来源:https://stackoverflow.com/questions/46231147/config-phpstorm-2017-2-3-google-app-engine-sdk-php-1-9-57-dir-valid

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!