简体   繁体   中英

Shift from phpmyadmin as Server to Google Cloud platform as server?

Currently I am using PhpMyAdmin as my server. Now I want to shift to Google cloud as my server.

I have few php files which are called as url from android app, these php file connects to mysql database and returns result back. Relative paths of images are stored in the database and these images are stored on server.

I am not able to figure out how I can perform same thing with Google cloud. I tried to upload same php file on google cloud and database to google cloud sql. But, I don't know how to access relative path images or individual php files, and I am lost as I am new to Google cloud.

Can someone please help? Thank you!

You'll probably want to use Google Cloud Storage:

https://cloud.google.com/appengine/docs/php/googlestorage/

Your site users can't upload their files directly to App Engine, so you can let them upload to Cloud Storage and then keep the metadata in your Cloud SQL.

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