Reputation: 13
I am trying to setup local development on my computer and have had some success. I can start the local server with dev_appserver.py and can access my local MySQL server through my php app.
I'm a noob with gcp, but have many years of experience.
When I try to execute the following code it returns "None":
$applicationID = AppIdentityService::getApplicationId();
Where do I set the Application ID?
Upvotes: 1
Views: 53
Reputation: 2048
There is not way you can set your Application ID by yourself. There is also no method for that. The Application ID is set by App Engine after your deployment.
Here there is a list of all the methods of the AppIdentityService
Upvotes: 0
Reputation: 15018
The Application ID is generated and assigned by the App Engine runtime environment. It will be null
or None
when run locally before the app is deployed to App Engine.
Upvotes: 1