简体   繁体   中英

Google App Engine composer dependencies do not update

I'm running my PHP application on Google Cloud App Engine Standard. After I deployed a new version of my app with a new composer package, I see that this new package was not installed during the deployment.

I deploy my app with gcloud app deploy . In the Cloud Console Debug tool, I can't find the package in the vendor folder. The package is successfully installed locally.

Is there a trick to update composer packages?

This link seems to suggest it only works for 2nd generation run times.

https://github.com/googleapis/google-api-php-client-services/issues/160#issuecomment-464106356

I had this problem too. Turns out this only works for '2nd generation run times'. In other words, your application will need to be PHP7.3. php5 applications will not process composer files.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM