What platform to serve basic PHP websites which connect to Cloud SQL for data for the web pages?

59 views
Skip to first unread message

Brian Harrell

unread,
Jun 8, 2018, 4:17:02 PM6/8/18
to Google App Engine
What platform to serve basic PHP websites which connect to Cloud SQL for data for the web pages?

GAE? and Google Cloud SQL?

Host images for the website where? 

Thanks for your help!

Just getting started in this.


Barry Hunter

unread,
Jun 8, 2018, 4:52:36 PM6/8/18
to google-appengine


GAE? and Google Cloud SQL?

They make a good pairing. 
 

Host images for the website where? 

Well can store them in Cloud Storage

But also GAE comes with built in support for hosting 'static' files

(good for storing the 'files' the app needs, created by you the developer) 


... Cloud Storage is better if allow your visitors to upload files for example. 



George (Cloud Platform Support)

unread,
Jun 8, 2018, 5:17:45 PM6/8/18
to Google App Engine
Hello Brian, 

You are right, GAE and Cloud SQL would provide an easy and elegant solution. You just need to check relevant documentation, or, even better: follow an example. The "Using Cloud SQL for MySQL with PHP" documentation page offers such an example. Even better, you may follow the entire example. The Cloud Storage Tools API provides convenience methods that you can use to serve image files conveniently. You may gather more detail on the "Serving Images" page

Brian Harrell

unread,
Jun 26, 2018, 3:02:00 PM6/26/18
to Google App Engine
Thank you!

Brian Harrell

unread,
Jun 26, 2018, 3:02:00 PM6/26/18
to Google App Engine
Thank you!
Reply all
Reply to author
Forward
0 new messages